Spaces:
Runtime error
Runtime error
ishaan-mital
commited on
Commit
·
7619f9f
1
Parent(s):
381b280
initial commit
Browse files
app.py
CHANGED
@@ -66,6 +66,7 @@ def call_llm_api(input_text,context):
|
|
66 |
|
67 |
def main(question):
|
68 |
# return rag_pipeline(question)
|
|
|
69 |
context = retrieval.predict(question, api_name = "/predict")
|
70 |
answer=call_llm_api(question,context)
|
71 |
chatbot = answer[1]
|
|
|
66 |
|
67 |
def main(question):
|
68 |
# return rag_pipeline(question)
|
69 |
+
global chatbot
|
70 |
context = retrieval.predict(question, api_name = "/predict")
|
71 |
answer=call_llm_api(question,context)
|
72 |
chatbot = answer[1]
|