Spaces:
Running
Running
vkovacs
commited on
Commit
·
6f3f9f8
1
Parent(s):
d71e26f
maybe like this
Browse files
app.py
CHANGED
|
@@ -79,8 +79,6 @@ with gr.Blocks() as demo:
|
|
| 79 |
with gr.Row():
|
| 80 |
input_text = gr.Textbox(lines=6, label="Input Text", placeholder="Enter your text here...")
|
| 81 |
language_choice = gr.Dropdown(choices=LANGUAGES, label="Language", value="English")
|
| 82 |
-
|
| 83 |
-
with gr.Row():
|
| 84 |
predict_button = gr.Button("Submit")
|
| 85 |
|
| 86 |
with gr.Row():
|
|
@@ -88,6 +86,7 @@ with gr.Blocks() as demo:
|
|
| 88 |
headers=["Sentence", "Prediction", "Confidence"],
|
| 89 |
column_widths=["50%", "35%", "15%"]
|
| 90 |
)
|
|
|
|
| 91 |
model_info = gr.Markdown()
|
| 92 |
|
| 93 |
predict_button.click(
|
|
|
|
| 79 |
with gr.Row():
|
| 80 |
input_text = gr.Textbox(lines=6, label="Input Text", placeholder="Enter your text here...")
|
| 81 |
language_choice = gr.Dropdown(choices=LANGUAGES, label="Language", value="English")
|
|
|
|
|
|
|
| 82 |
predict_button = gr.Button("Submit")
|
| 83 |
|
| 84 |
with gr.Row():
|
|
|
|
| 86 |
headers=["Sentence", "Prediction", "Confidence"],
|
| 87 |
column_widths=["50%", "35%", "15%"]
|
| 88 |
)
|
| 89 |
+
with gr.Row():
|
| 90 |
model_info = gr.Markdown()
|
| 91 |
|
| 92 |
predict_button.click(
|