Spaces:
Runtime error
Runtime error
ishaan-mital
commited on
Commit
·
8f1d664
1
Parent(s):
6f89ff2
lets see
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def question(question):
|
|
75 |
global chatbot
|
76 |
answer = rag_pipeline(question)
|
77 |
chatbot = answer
|
78 |
-
return answer
|
79 |
|
80 |
demo = gr.Interface(fn=question, inputs="text", outputs="text")
|
81 |
|
|
|
75 |
global chatbot
|
76 |
answer = rag_pipeline(question)
|
77 |
chatbot = answer
|
78 |
+
return answer['result']
|
79 |
|
80 |
demo = gr.Interface(fn=question, inputs="text", outputs="text")
|
81 |
|