Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,3 @@
|
|
1 |
-
import os
|
2 |
-
os.system("pip install -q git+https://github.com/openai/whisper.git")
|
3 |
-
|
4 |
import gradio as gr
|
5 |
import os, json, re, uuid
|
6 |
from datetime import datetime
|
@@ -87,8 +84,7 @@ textarea, input[type='text'] {
|
|
87 |
with gr.Row():
|
88 |
chat_input = gr.Textbox(placeholder="Type or speak...", label=None, scale=9)
|
89 |
record_btn = gr.Button("ποΈ Record", scale=1)
|
90 |
-
upload_btn = gr.
|
91 |
-
|
92 |
|
93 |
chatbot = gr.Chatbot(label="JAWERIA'SBOT π€", height=400)
|
94 |
send_btn = gr.Button("Send π")
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import os, json, re, uuid
|
3 |
from datetime import datetime
|
|
|
84 |
with gr.Row():
|
85 |
chat_input = gr.Textbox(placeholder="Type or speak...", label=None, scale=9)
|
86 |
record_btn = gr.Button("ποΈ Record", scale=1)
|
87 |
+
upload_btn = gr.Audio(source="upload", type="filepath", visible=False)
|
|
|
88 |
|
89 |
chatbot = gr.Chatbot(label="JAWERIA'SBOT π€", height=400)
|
90 |
send_btn = gr.Button("Send π")
|