Spaces:
Runtime error
Runtime error
Commit
·
096f133
1
Parent(s):
d1289ae
app.py
CHANGED
@@ -70,7 +70,7 @@ def main(question):
|
|
70 |
context = retrieval.predict(question, api_name = "/predict")
|
71 |
answer=call_llm_api(question,context)
|
72 |
chatbot = answer
|
73 |
-
return answer
|
74 |
|
75 |
demo = gr.Interface(main, inputs = "text", outputs = "text")
|
76 |
|
|
|
70 |
context = retrieval.predict(question, api_name = "/predict")
|
71 |
answer=call_llm_api(question,context)
|
72 |
chatbot = answer
|
73 |
+
return answer[1][0][1]
|
74 |
|
75 |
demo = gr.Interface(main, inputs = "text", outputs = "text")
|
76 |
|