Ath
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def chat_and_tts(user_input, history):
|
|
63 |
|
64 |
# Create the Gradio UI
|
65 |
with gr.Blocks() as demo:
|
66 |
-
gr.Markdown("<h1 style='text-align: center;'>Chat with
|
67 |
gr.Markdown("Ask any question and get a friendly response from Ath. The response will also be converted to speech.")
|
68 |
|
69 |
with gr.Row():
|
@@ -73,7 +73,7 @@ with gr.Blocks() as demo:
|
|
73 |
submit_btn = gr.Button("Send")
|
74 |
|
75 |
with gr.Column(scale=1):
|
76 |
-
audio_output = gr.Audio(label="Response Audio")
|
77 |
|
78 |
state = gr.State([])
|
79 |
|
|
|
63 |
|
64 |
# Create the Gradio UI
|
65 |
with gr.Blocks() as demo:
|
66 |
+
gr.Markdown("<h1 style='text-align: center;'>Chat with Ath</h1>")
|
67 |
gr.Markdown("Ask any question and get a friendly response from Ath. The response will also be converted to speech.")
|
68 |
|
69 |
with gr.Row():
|
|
|
73 |
submit_btn = gr.Button("Send")
|
74 |
|
75 |
with gr.Column(scale=1):
|
76 |
+
audio_output = gr.Audio(label="Response Audio", type="file", source="local")
|
77 |
|
78 |
state = gr.State([])
|
79 |
|