Spaces:
Sleeping
Sleeping
vkovacs
commited on
Commit
·
1bac0f8
1
Parent(s):
6f3f9f8
nested rows (so it's prettier)
Browse files
app.py
CHANGED
|
@@ -77,9 +77,11 @@ def predict_wrapper(text, language):
|
|
| 77 |
|
| 78 |
with gr.Blocks() as demo:
|
| 79 |
with gr.Row():
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
|
|
|
|
|
|
| 83 |
|
| 84 |
with gr.Row():
|
| 85 |
result_table = gr.Dataframe(
|
|
|
|
| 77 |
|
| 78 |
with gr.Blocks() as demo:
|
| 79 |
with gr.Row():
|
| 80 |
+
with gr.Row():
|
| 81 |
+
input_text = gr.Textbox(lines=6, label="Input Text", placeholder="Enter your text here...")
|
| 82 |
+
with gr.Row():
|
| 83 |
+
language_choice = gr.Dropdown(choices=LANGUAGES, label="Language", value="English")
|
| 84 |
+
predict_button = gr.Button("Submit")
|
| 85 |
|
| 86 |
with gr.Row():
|
| 87 |
result_table = gr.Dataframe(
|