Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,7 @@ def main():
|
|
22 |
{"context": retriever, "question": RunnablePassthrough()}
|
23 |
| llm_chain)
|
24 |
|
25 |
-
interface = gr.Interface
|
26 |
-
(
|
27 |
fn=lambda question: generate_response(question, rag_chain),
|
28 |
inputs=gr.Textbox(placeholder="Ask your question...", label="Your Question", lines=2),
|
29 |
outputs=gr.Textbox(label="Bloodraven's Response", lines=5, interactive=False),
|
|
|
22 |
{"context": retriever, "question": RunnablePassthrough()}
|
23 |
| llm_chain)
|
24 |
|
25 |
+
interface = gr.Interface(
|
|
|
26 |
fn=lambda question: generate_response(question, rag_chain),
|
27 |
inputs=gr.Textbox(placeholder="Ask your question...", label="Your Question", lines=2),
|
28 |
outputs=gr.Textbox(label="Bloodraven's Response", lines=5, interactive=False),
|