Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def retrieve_and_generate(question):
|
|
24 |
# Create a Gradio interface
|
25 |
interface = gr.Interface(
|
26 |
fn=retrieve_and_generate,
|
27 |
-
inputs=gr.
|
28 |
outputs="text",
|
29 |
title="RAG Chatbot",
|
30 |
description="Ask questions about the documents in the CSV file."
|
|
|
24 |
# Create a Gradio interface
|
25 |
interface = gr.Interface(
|
26 |
fn=retrieve_and_generate,
|
27 |
+
inputs=gr.Textbox(lines=2, placeholder="Ask a question about the documents..."),
|
28 |
outputs="text",
|
29 |
title="RAG Chatbot",
|
30 |
description="Ask questions about the documents in the CSV file."
|