Spaces:
Running
Running
Update ChatErector.py
Browse files- ChatErector.py +1 -1
ChatErector.py
CHANGED
@@ -9,7 +9,7 @@ def initializer(list_file_obj, llm_temperature, max_tokens, top_k, thold, progre
|
|
9 |
return qa_chain, "Success."
|
10 |
|
11 |
|
12 |
-
|
13 |
def conversation(qa_chain, message, history):
|
14 |
formatted_chat_history = format_chat_history(history)#message, history)
|
15 |
# Generate response using QA chain
|
|
|
9 |
return qa_chain, "Success."
|
10 |
|
11 |
|
12 |
+
#spaces.GPU
|
13 |
def conversation(qa_chain, message, history):
|
14 |
formatted_chat_history = format_chat_history(history)#message, history)
|
15 |
# Generate response using QA chain
|