Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -176,8 +176,6 @@ with gr.Blocks(title='Talk to AI-DHD') as demo:
|
|
176 |
rounded=(True, True, True, True),
|
177 |
width=100
|
178 |
)
|
179 |
-
|
180 |
-
|
181 |
|
182 |
translate_btn.click(fn=translate_or_transcribe,
|
183 |
inputs=[prompt_input_audio,whisper_task],
|
@@ -189,6 +187,5 @@ with gr.Blocks(title='Talk to AI-DHD') as demo:
|
|
189 |
inputs=[api,prompt_input, chat_history],
|
190 |
outputs=[api,chatbot, chat_history],
|
191 |
)
|
192 |
-
)
|
193 |
|
194 |
demo.launch(debug = True)
|
|
|
176 |
rounded=(True, True, True, True),
|
177 |
width=100
|
178 |
)
|
|
|
|
|
179 |
|
180 |
translate_btn.click(fn=translate_or_transcribe,
|
181 |
inputs=[prompt_input_audio,whisper_task],
|
|
|
187 |
inputs=[api,prompt_input, chat_history],
|
188 |
outputs=[api,chatbot, chat_history],
|
189 |
)
|
|
|
190 |
|
191 |
demo.launch(debug = True)
|