Update app.py
Browse files
app.py
CHANGED
@@ -60,9 +60,10 @@ def chain():
|
|
60 |
memory.load_memory_variables({}) #Initialize memory
|
61 |
return llm_chain
|
62 |
|
|
|
|
|
63 |
@spaces.GPU
|
64 |
def chat_output(message, history):
|
65 |
-
llm_chaim = chain()
|
66 |
result = llm_chaim.predict(input = message)
|
67 |
return result
|
68 |
|
|
|
60 |
memory.load_memory_variables({}) #Initialize memory
|
61 |
return llm_chain
|
62 |
|
63 |
+
llm_chaim = chain()
|
64 |
+
|
65 |
@spaces.GPU
|
66 |
def chat_output(message, history):
|
|
|
67 |
result = llm_chaim.predict(input = message)
|
68 |
return result
|
69 |
|