mskov commited on
Commit
dd2d992
·
1 Parent(s): 8cf1be7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -94,7 +94,8 @@ with gr.Blocks() as face:
94
  transcribe_btn = gr.Button(value="Transcribe")
95
  with gr.Column():
96
  script = gr.Textbox(label="Transcribed text")
97
- options = gr.Textbox(label="Predictions")
 
98
  latestConvo = gr.Textbox(label="Running conversation")
99
  #transcribe_btn.click(inference)
100
  transcribe_btn.click(fn=inference, inputs=[audio, promptText, dropChoice, sliderChoice, convoState], outputs=[script, options, latestConvo])
 
94
  transcribe_btn = gr.Button(value="Transcribe")
95
  with gr.Column():
96
  script = gr.Textbox(label="Transcribed text")
97
+ #options = gr.Textbox(label="Predictions")
98
+ options = gr.Radio(choices=["One", "Two", "Three", "Four", "Five"])
99
  latestConvo = gr.Textbox(label="Running conversation")
100
  #transcribe_btn.click(inference)
101
  transcribe_btn.click(fn=inference, inputs=[audio, promptText, dropChoice, sliderChoice, convoState], outputs=[script, options, latestConvo])