Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def call_api(message, openai_api_key):
|
|
82 |
return str(response.choices[0].text).split("\n",2)[2]
|
83 |
|
84 |
def clean_components():
|
85 |
-
return gr.Audio(
|
86 |
|
87 |
title = """
|
88 |
<div style="text-align: center; max-width: 500px; margin: 0 auto;">
|
|
|
82 |
return str(response.choices[0].text).split("\n",2)[2]
|
83 |
|
84 |
def clean_components():
|
85 |
+
return gr.Audio.update(), gr.HTML.update(visible=False), gr.Textbox.update(visible=False), gr.Button(visible=False)
|
86 |
|
87 |
title = """
|
88 |
<div style="text-align: center; max-width: 500px; margin: 0 auto;">
|