Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -305,15 +305,15 @@ if __name__ == '__main__':
|
|
| 305 |
})
|
| 306 |
with gr.Blocks(css="#chatbot .overflow-y-auto{height:500px}") as demo:
|
| 307 |
with gr.Row():
|
| 308 |
-
gr.Markdown("##
|
| 309 |
-
chatbot = gr.Chatbot(elem_id="chatbot", label="
|
| 310 |
state = gr.State([])
|
| 311 |
|
| 312 |
with gr.Row() as select_raws:
|
| 313 |
with gr.Column(scale=0.7):
|
| 314 |
interaction_type = gr.Radio(choices=['text', 'speech'], value='text', label='Interaction Type')
|
| 315 |
openai_api_key_textbox = gr.Textbox(
|
| 316 |
-
placeholder="Paste your OpenAI API key here to start
|
| 317 |
show_label=False,
|
| 318 |
lines=1,
|
| 319 |
type="password",
|
|
|
|
| 305 |
})
|
| 306 |
with gr.Blocks(css="#chatbot .overflow-y-auto{height:500px}") as demo:
|
| 307 |
with gr.Row():
|
| 308 |
+
gr.Markdown("## Audio ChatGPT")
|
| 309 |
+
chatbot = gr.Chatbot(elem_id="chatbot", label="Audio ChatGPT", visible=False)
|
| 310 |
state = gr.State([])
|
| 311 |
|
| 312 |
with gr.Row() as select_raws:
|
| 313 |
with gr.Column(scale=0.7):
|
| 314 |
interaction_type = gr.Radio(choices=['text', 'speech'], value='text', label='Interaction Type')
|
| 315 |
openai_api_key_textbox = gr.Textbox(
|
| 316 |
+
placeholder="Paste your OpenAI API key here to start Audio ChatGPT(sk-...) and press Enter ↵️",
|
| 317 |
show_label=False,
|
| 318 |
lines=1,
|
| 319 |
type="password",
|