deepakchawla-cb commited on
Commit
c5cfe00
·
1 Parent(s): 5d6cd8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -221,7 +221,15 @@ with block:
221
 
222
  sentiment_output = gr.Textbox(label="Sentiment Analysis Results", output=True)
223
 
224
- btn.click(inference, inputs=[audio, sentiment_option], outputs=[lang_str, text, sentiment_output])
 
 
 
 
 
 
 
 
225
 
226
  gr.HTML('''
227
  <div class="footer">
 
221
 
222
  sentiment_output = gr.Textbox(label="Sentiment Analysis Results", output=True)
223
 
224
+ prediction = gr.Textbox(label="Prediction")
225
+
226
+ language_translation = gr.Textbox(label="Language Translation")
227
+
228
+
229
+ btn.click(inference, inputs=[audio, sentiment_option], outputs=[lang_str, text, sentiment_output, prediction,language_translation])
230
+
231
+
232
+ # btn.click(inference, inputs=[audio, sentiment_option], outputs=[lang_str, text, sentiment_output])
233
 
234
  gr.HTML('''
235
  <div class="footer">