abhicodes commited on
Commit
3bd4557
1 Parent(s): e4fe613

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -11
app.py CHANGED
@@ -177,18 +177,19 @@ with block:
177
  text_sentiment = gr.Textbox(label="Text Sentiment")
178
  facial_output = gr.Label(label='Facial Data', container=True, scale=2)
179
 
180
- with gr.Column():
181
- gr.Textbox(label="Text Content")
182
-
183
- output_text_sentiment = gr.Textbox(label="Text Sentiment")
184
-
185
- with gr.Column():
186
- audio = gr.Audio(label="Input Audio", show_label=False, type="filepath")
187
- sentiment_option = gr.Radio(choices=["Sentiment Only", "Sentiment + Score"], label="Select an option")
188
 
189
- lang_str = gr.Textbox(label="Language")
190
- text = gr.Textbox(label="Transcription")
191
- sentiment_output = gr.Textbox(label="Sentiment Analysis Results")
 
 
 
 
192
 
193
 
194
  btn = gr.Button("Transcribe")
 
177
  text_sentiment = gr.Textbox(label="Text Sentiment")
178
  facial_output = gr.Label(label='Facial Data', container=True, scale=2)
179
 
180
+ with gr.Row():
181
+ with gr.Column():
182
+ gr.Textbox(label="Text Content")
183
+
184
+ output_text_sentiment = gr.Textbox(label="Text Sentiment")
 
 
 
185
 
186
+ with gr.Row():
187
+ audio = gr.Audio(label="Input Audio", show_label=False, type="filepath")
188
+ sentiment_option = gr.Radio(choices=["Sentiment Only", "Sentiment + Score"], label="Select an option")
189
+
190
+ lang_str = gr.Textbox(label="Language")
191
+ text = gr.Textbox(label="Transcription")
192
+ sentiment_output = gr.Textbox(label="Sentiment Analysis Results")
193
 
194
 
195
  btn = gr.Button("Transcribe")