Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -201,7 +201,7 @@ def ask_question(query, history):
|
|
| 201 |
|
| 202 |
# Gradio app interface definition
|
| 203 |
with gr.Blocks() as app:
|
| 204 |
-
gr.Markdown("# 🏫
|
| 205 |
|
| 206 |
with gr.Row():
|
| 207 |
# File upload component - now accepts PDF and XLSX
|
|
@@ -213,7 +213,7 @@ with gr.Blocks() as app:
|
|
| 213 |
file_input.change(fn=handle_upload, inputs=file_input, outputs=upload_output)
|
| 214 |
|
| 215 |
# Chatbot interface
|
| 216 |
-
chatbot = gr.ChatInterface(fn=ask_question, title="🧠 Ask
|
| 217 |
|
| 218 |
# Launch the Gradio app
|
| 219 |
app.launch()
|
|
|
|
| 201 |
|
| 202 |
# Gradio app interface definition
|
| 203 |
with gr.Blocks() as app:
|
| 204 |
+
gr.Markdown("# 🏫 Univoid AI (Groq + Langchain + Gradio)")
|
| 205 |
|
| 206 |
with gr.Row():
|
| 207 |
# File upload component - now accepts PDF and XLSX
|
|
|
|
| 213 |
file_input.change(fn=handle_upload, inputs=file_input, outputs=upload_output)
|
| 214 |
|
| 215 |
# Chatbot interface
|
| 216 |
+
chatbot = gr.ChatInterface(fn=ask_question, title="🧠 Ask anything related Timetable")
|
| 217 |
|
| 218 |
# Launch the Gradio app
|
| 219 |
app.launch()
|