Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -235,7 +235,7 @@ iface = gr.TabbedInterface(
|
|
| 235 |
[
|
| 236 |
gr.Interface(
|
| 237 |
fn=chatbot,
|
| 238 |
-
inputs=[gr.Textbox(label="Ask a Question"), "
|
| 239 |
outputs=gr.Textbox(label="Answer"),
|
| 240 |
title="PDF Q&A Chatbot (Powered by Together.AI)",
|
| 241 |
),
|
|
|
|
| 235 |
[
|
| 236 |
gr.Interface(
|
| 237 |
fn=chatbot,
|
| 238 |
+
inputs=[gr.Textbox(label="Ask a Question"), gr.Checkbox(label="Document Present?")]
|
| 239 |
outputs=gr.Textbox(label="Answer"),
|
| 240 |
title="PDF Q&A Chatbot (Powered by Together.AI)",
|
| 241 |
),
|