RamAnanth1 commited on
Commit
31282e2
·
1 Parent(s): 56c5e88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks(title='Talk to CatGPT') as demo:
134
  label="Record Audio Input",
135
 
136
  )
137
- translate_btn = gr.Button("Check Whisper first ? 👍")
138
 
139
  #whisper_task = gr.Radio(["translate", "transcribe"], value="translate", show_label=False)
140
  with gr.Row(elem_id="prompt_row"):
@@ -145,14 +145,11 @@ with gr.Blocks(title='Talk to CatGPT') as demo:
145
  rounded=(True, True, True, True),
146
  width=100
147
  )
148
-
149
-
150
-
151
  translate_btn.click(fn=translate_or_transcribe,
152
  inputs=[prompt_input_audio],
153
  outputs=prompt_input
154
  )
155
-
156
 
157
  submit_btn.click(fn=chat,
158
  inputs=[prompt_input, chat_history],
 
134
  label="Record Audio Input",
135
 
136
  )
137
+ translate_btn = gr.Button("Check Whisper first ?👍")
138
 
139
  #whisper_task = gr.Radio(["translate", "transcribe"], value="translate", show_label=False)
140
  with gr.Row(elem_id="prompt_row"):
 
145
  rounded=(True, True, True, True),
146
  width=100
147
  )
148
+
 
 
149
  translate_btn.click(fn=translate_or_transcribe,
150
  inputs=[prompt_input_audio],
151
  outputs=prompt_input
152
  )
 
153
 
154
  submit_btn.click(fn=chat,
155
  inputs=[prompt_input, chat_history],