Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ with gr.Blocks(css=customCSS) as demo:
|
|
137 |
gr.Markdown("Getting real-time updated results for prompts is still proprietary in the face of GPT-4, Co-Pilot etc. This app serves as an open-source alternative for this! UPDATE: Previous version of this app i.e. RAG_FRIDAY_mark_3 is also available, this is just a upgrade providing voice-based search comfort for users")
|
138 |
|
139 |
with gr.Row():
|
140 |
-
input_audio = gr.Audio(label="Voice Chat (BETA)",
|
141 |
output_text = gr.Textbox(label="Text Response")
|
142 |
output_audio = gr.Audio(label="JARVIS", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
143 |
gr.Interface(fn=respond, inputs=[input_audio], outputs=[output_text, output_audio], live=True)
|
|
|
137 |
gr.Markdown("Getting real-time updated results for prompts is still proprietary in the face of GPT-4, Co-Pilot etc. This app serves as an open-source alternative for this! UPDATE: Previous version of this app i.e. RAG_FRIDAY_mark_3 is also available, this is just a upgrade providing voice-based search comfort for users")
|
138 |
|
139 |
with gr.Row():
|
140 |
+
input_audio = gr.Audio(label="Voice Chat (BETA)", sources="microphone", type="filepath", waveform_options=False)
|
141 |
output_text = gr.Textbox(label="Text Response")
|
142 |
output_audio = gr.Audio(label="JARVIS", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
143 |
gr.Interface(fn=respond, inputs=[input_audio], outputs=[output_text, output_audio], live=True)
|