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