Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,8 +93,7 @@ with gr.Blocks(theme=gr.themes.Citrus()) as demo: #gr.themes.Ocean() #https://ww
|
|
| 93 |
max_tokens=m,
|
| 94 |
stream=True,
|
| 95 |
temperature=t,
|
| 96 |
-
stop=STOPS
|
| 97 |
-
request_timeout=30)
|
| 98 |
chat_history.append({"role": "assistant", "content": ""})
|
| 99 |
for chunk in stream:
|
| 100 |
if chunk.choices[0].delta.content:
|
|
|
|
| 93 |
max_tokens=m,
|
| 94 |
stream=True,
|
| 95 |
temperature=t,
|
| 96 |
+
stop=STOPS)
|
|
|
|
| 97 |
chat_history.append({"role": "assistant", "content": ""})
|
| 98 |
for chunk in stream:
|
| 99 |
if chunk.choices[0].delta.content:
|