Update app.py
Browse files
app.py
CHANGED
|
@@ -80,20 +80,14 @@ with gr.Blocks(css=css) as demo:
|
|
| 80 |
|
| 81 |
gr.HTML(title)
|
| 82 |
|
| 83 |
-
with gr.Row():
|
| 84 |
-
record_input = gr.Audio(source="microphone",type="filepath", show_label=True,elem_id="record_btn")
|
| 85 |
-
|
| 86 |
-
with gr.Row():
|
| 87 |
-
|
| 88 |
-
send_btn = gr.Button("Send my request !")
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
with gr.Column(elem_id="col-container-2"):
|
| 92 |
-
|
| 93 |
gpt_response = gr.Video()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
| 97 |
send_btn.click(infer, inputs=[record_input], outputs=[gpt_response])
|
| 98 |
|
| 99 |
demo.queue(max_size=32, concurrency_count=20).launch(debug=True)
|
|
|
|
| 80 |
|
| 81 |
gr.HTML(title)
|
| 82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
gpt_response = gr.Video()
|
| 84 |
+
|
| 85 |
+
with gr.Column(elem_id="col-container-2"):
|
| 86 |
+
|
| 87 |
+
record_input = gr.Audio(source="microphone",type="filepath", show_label=True,elem_id="record_btn")
|
| 88 |
|
| 89 |
+
send_btn = gr.Button("Send my request !")
|
| 90 |
+
|
| 91 |
send_btn.click(infer, inputs=[record_input], outputs=[gpt_response])
|
| 92 |
|
| 93 |
demo.queue(max_size=32, concurrency_count=20).launch(debug=True)
|