Spaces:
Sleeping
Sleeping
Update ui.py
Browse files
ui.py
CHANGED
@@ -67,7 +67,7 @@ with demo:
|
|
67 |
# Voice to LLM & Sentiment Analyzer with RAG (PDF Upload & Gemini TTS)
|
68 |
""")
|
69 |
with gr.Row():
|
70 |
-
pdf_input = gr.Files(label="Upload PDF(s)", type="
|
71 |
pdf_status = gr.Textbox(label="PDF Processing Status")
|
72 |
pdf_input.upload(process_pdfs, inputs=pdf_input, outputs=pdf_status)
|
73 |
audio_input = gr.Audio(sources=["microphone"], type="filepath", label="Speak your query")
|
|
|
67 |
# Voice to LLM & Sentiment Analyzer with RAG (PDF Upload & Gemini TTS)
|
68 |
""")
|
69 |
with gr.Row():
|
70 |
+
pdf_input = gr.Files(label="Upload PDF(s)", type="filepath")
|
71 |
pdf_status = gr.Textbox(label="PDF Processing Status")
|
72 |
pdf_input.upload(process_pdfs, inputs=pdf_input, outputs=pdf_status)
|
73 |
audio_input = gr.Audio(sources=["microphone"], type="filepath", label="Speak your query")
|