Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ chat_engine = index.as_chat_engine(
|
|
111 |
response_mode="tree_summarize",
|
112 |
)
|
113 |
|
114 |
-
def process(input):
|
115 |
response = chat_engine.stream_chat(input)
|
116 |
output = ""
|
117 |
for token in response.response_gen:
|
|
|
111 |
response_mode="tree_summarize",
|
112 |
)
|
113 |
|
114 |
+
def process(input, history):
|
115 |
response = chat_engine.stream_chat(input)
|
116 |
output = ""
|
117 |
for token in response.response_gen:
|