vkovacs commited on
Commit
cc6aa04
·
1 Parent(s): f7c3109

ok maybe use multiple rows

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -79,8 +79,11 @@ 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
  predict_button = gr.Button("Submit")
83
 
 
84
  result_table = gr.Dataframe(
85
  headers=["Sentence", "Prediction", "Confidence"],
86
  column_widths=["50%", "35%", "15%"]
 
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():
87
  result_table = gr.Dataframe(
88
  headers=["Sentence", "Prediction", "Confidence"],
89
  column_widths=["50%", "35%", "15%"]