lunadebruyne commited on
Commit
5d12990
·
1 Parent(s): 011cb7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -119,12 +119,12 @@ with gr.Blocks() as demo:
119
  This demo allows you to analyse the emotion in a sentence.
120
  """)
121
  with gr.Row():
122
- input = gr.Textbox(
123
- label="Enter a sentence",
124
- lines=1)
 
 
125
  output = gr.Textbox()
126
- with gr.Row():
127
- send_btn = gr.Button("Send")
128
  send_btn.click(fn=inference_sentence, inputs=input, outputs=output)
129
  with gr.Tab("Dataset"):
130
  gr.Markdown("""
@@ -132,12 +132,12 @@ with gr.Blocks() as demo:
132
  This demo allows you to analyse the emotion in a sentence.
133
  """)
134
  with gr.Row():
135
- input = gr.Textbox(
136
- label="Enter a sentence",
137
- lines=1)
 
 
138
  output = gr.Textbox()
139
- with gr.Row():
140
- send_btn = gr.Button("Send")
141
  send_btn.click(fn=inference_sentence, inputs=input, outputs=output)
142
 
143
  demo.launch()
 
119
  This demo allows you to analyse the emotion in a sentence.
120
  """)
121
  with gr.Row():
122
+ with gr.Column():
123
+ input = gr.Textbox(
124
+ label="Enter a sentence",
125
+ lines=1)
126
+ send_btn = gr.Button("Send")
127
  output = gr.Textbox()
 
 
128
  send_btn.click(fn=inference_sentence, inputs=input, outputs=output)
129
  with gr.Tab("Dataset"):
130
  gr.Markdown("""
 
132
  This demo allows you to analyse the emotion in a sentence.
133
  """)
134
  with gr.Row():
135
+ with gr.Column():
136
+ input = gr.Textbox(
137
+ label="Enter a sentence",
138
+ lines=1)
139
+ send_btn = gr.Button("Send")
140
  output = gr.Textbox()
 
 
141
  send_btn.click(fn=inference_sentence, inputs=input, outputs=output)
142
 
143
  demo.launch()