Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -184,7 +184,7 @@ def helloWorld(text):
|
|
| 184 |
|
| 185 |
# Gradio Interface
|
| 186 |
iface = gr.Interface(
|
| 187 |
-
fn=[
|
| 188 |
inputs=[gr.File(label="Upload PDF"), gr.Textbox(label="Ask a Question")],
|
| 189 |
outputs=gr.Textbox(label="Answer"),
|
| 190 |
title="PDF Q&A Chatbot (Powered by Together.AI)"
|
|
|
|
| 184 |
|
| 185 |
# Gradio Interface
|
| 186 |
iface = gr.Interface(
|
| 187 |
+
fn=[chatbot, helloWorld],
|
| 188 |
inputs=[gr.File(label="Upload PDF"), gr.Textbox(label="Ask a Question")],
|
| 189 |
outputs=gr.Textbox(label="Answer"),
|
| 190 |
title="PDF Q&A Chatbot (Powered by Together.AI)"
|