Update app.py
Browse files
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.
|
181 |
-
gr.
|
182 |
-
|
183 |
-
|
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 |
-
|
190 |
-
|
191 |
-
|
|
|
|
|
|
|
|
|
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")
|