Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,13 @@ async def chat(query,history,audience,sources,reports):
|
|
36 |
if len(reports) == 0:
|
37 |
reports = []
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
|
41 |
# --------------------------------------------------------------------
|
|
|
36 |
if len(reports) == 0:
|
37 |
reports = []
|
38 |
|
39 |
+
history = [tuple(x) for x in history]
|
40 |
+
|
41 |
+
docs_html = ""
|
42 |
+
output_query = ""
|
43 |
+
output_language = "ENG"
|
44 |
+
|
45 |
+
yield history,docs_html,output_query,output_language
|
46 |
|
47 |
|
48 |
# --------------------------------------------------------------------
|