Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def chat(message, history):
|
|
30 |
history = history or []
|
31 |
response = ""
|
32 |
try:
|
33 |
-
response = chain
|
34 |
markdown = generate_markdown(response)
|
35 |
except Exception as e:
|
36 |
print(f"Erorr: {e}")
|
|
|
30 |
history = history or []
|
31 |
response = ""
|
32 |
try:
|
33 |
+
response = chain({"question": f"{message}"}, return_only_outputs=True)
|
34 |
markdown = generate_markdown(response)
|
35 |
except Exception as e:
|
36 |
print(f"Erorr: {e}")
|