Spaces:
Sleeping
Sleeping
edbeeching
commited on
Commit
·
09ffdf1
1
Parent(s):
1d1714f
fix dataset details
Browse files
app.py
CHANGED
|
@@ -329,7 +329,7 @@ def validate_request(request: GenerationRequest, oauth_token: Optional[Union[gr.
|
|
| 329 |
raise Exception("Temperature must be between 0.0 and 2.0")
|
| 330 |
if request.top_k < 1 or request.top_k > 100:
|
| 331 |
raise Exception("Top K must be between 1 and 100")
|
| 332 |
-
if request.top_p < 0.0 or request.top_p > 1.0:
|
| 333 |
raise Exception("Top P must be between 0.0 and 1.0")
|
| 334 |
|
| 335 |
return request
|
|
@@ -645,7 +645,7 @@ def main():
|
|
| 645 |
load_info_status = gr.Markdown("", visible=True)
|
| 646 |
|
| 647 |
with gr.Column():
|
| 648 |
-
output_dataset_name = gr.Textbox(label="Output Dataset Name", placeholder="
|
| 649 |
|
| 650 |
with gr.Row():
|
| 651 |
with gr.Column():
|
|
|
|
| 329 |
raise Exception("Temperature must be between 0.0 and 2.0")
|
| 330 |
if request.top_k < 1 or request.top_k > 100:
|
| 331 |
raise Exception("Top K must be between 1 and 100")
|
| 332 |
+
if request.top_p < 0.0 or request.top_p > 1.0:
|
| 333 |
raise Exception("Top P must be between 0.0 and 1.0")
|
| 334 |
|
| 335 |
return request
|
|
|
|
| 645 |
load_info_status = gr.Markdown("", visible=True)
|
| 646 |
|
| 647 |
with gr.Column():
|
| 648 |
+
output_dataset_name = gr.Textbox(label="Output Dataset Name", placeholder="Will be auto-populated, the dataset will be created under the org 'synthetic-data-universe'", value=None, interactive=False, info="Click Load Info to populate")
|
| 649 |
|
| 650 |
with gr.Row():
|
| 651 |
with gr.Column():
|