Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -613,7 +613,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 613 |
|
| 614 |
with gr.Row(variant="panel"):
|
| 615 |
gr.Markdown(value="## 🚀 Login to Hugging Face"),
|
| 616 |
-
|
| 617 |
|
| 618 |
gr.Markdown(value="🚨 **This is needed to upload the resulting dataset.**")
|
| 619 |
|
|
@@ -628,7 +628,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 628 |
output = gr.Markdown(label="Output")
|
| 629 |
|
| 630 |
submit_btn = gr.Button("Translate Dataset", variant="primary")
|
| 631 |
-
submit_btn.click(main, inputs=[dataset_url, model_type, output_dataset_name, range_specification
|
| 632 |
|
| 633 |
gr.Markdown(datasets_desc)
|
| 634 |
|
|
|
|
| 613 |
|
| 614 |
with gr.Row(variant="panel"):
|
| 615 |
gr.Markdown(value="## 🚀 Login to Hugging Face"),
|
| 616 |
+
gr.LoginButton(min_width=380)
|
| 617 |
|
| 618 |
gr.Markdown(value="🚨 **This is needed to upload the resulting dataset.**")
|
| 619 |
|
|
|
|
| 628 |
output = gr.Markdown(label="Output")
|
| 629 |
|
| 630 |
submit_btn = gr.Button("Translate Dataset", variant="primary")
|
| 631 |
+
submit_btn.click(main, inputs=[dataset_url, model_type, output_dataset_name, range_specification], outputs=output)
|
| 632 |
|
| 633 |
gr.Markdown(datasets_desc)
|
| 634 |
|