Spaces:
Running
Running
def process_open_ai_audio_to_chatbot(password, audio_url):
Browse files
app.py
CHANGED
@@ -3259,6 +3259,12 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue=gr.themes.colors.orange, seconda
|
|
3259 |
outputs_list = [ai_msg, ai_chatbot, ai_send_button]
|
3260 |
setup_question_button_click(question_btn, inputs_list, outputs_list, chat_with_ai)
|
3261 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3262 |
# file_upload.change(process_file, inputs=file_upload, outputs=df_string_output)
|
3263 |
# file_upload.change(process_file, inputs=file_upload, outputs=[btn_1, btn_2, btn_3, df_summarise, df_string_output])
|
3264 |
|
|
|
3259 |
outputs_list = [ai_msg, ai_chatbot, ai_send_button]
|
3260 |
setup_question_button_click(question_btn, inputs_list, outputs_list, chat_with_ai)
|
3261 |
|
3262 |
+
ai_chatbot_audio_input.change(
|
3263 |
+
process_open_ai_audio_to_chatbot,
|
3264 |
+
inputs=[password, ai_chatbot_audio_input],
|
3265 |
+
outputs=[ai_msg]
|
3266 |
+
)
|
3267 |
+
|
3268 |
# file_upload.change(process_file, inputs=file_upload, outputs=df_string_output)
|
3269 |
# file_upload.change(process_file, inputs=file_upload, outputs=[btn_1, btn_2, btn_3, df_summarise, df_string_output])
|
3270 |
|