Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,8 @@ async def chat(query,history,sources,reports):
|
|
| 92 |
huggingfacehub_api_token=HF_token,
|
| 93 |
truncate = 1500,
|
| 94 |
stop=["<|eot_id|>"],
|
| 95 |
-
streaming
|
|
|
|
| 96 |
|
| 97 |
|
| 98 |
# create rag chain
|
|
|
|
| 92 |
huggingfacehub_api_token=HF_token,
|
| 93 |
truncate = 1500,
|
| 94 |
stop=["<|eot_id|>"],
|
| 95 |
+
streaming=True,
|
| 96 |
+
model_kwargs = {})
|
| 97 |
|
| 98 |
|
| 99 |
# create rag chain
|