Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,7 +104,7 @@ def predict(message, history, system_prompt, temperature):
|
|
| 104 |
response = requests.post(
|
| 105 |
f"http://127.0.0.1:{SERVER_PORT}/v1/chat/completions",
|
| 106 |
json=payload,
|
| 107 |
-
timeout=
|
| 108 |
)
|
| 109 |
response.raise_for_status()
|
| 110 |
result = response.json()
|
|
|
|
| 104 |
response = requests.post(
|
| 105 |
f"http://127.0.0.1:{SERVER_PORT}/v1/chat/completions",
|
| 106 |
json=payload,
|
| 107 |
+
timeout=480
|
| 108 |
)
|
| 109 |
response.raise_for_status()
|
| 110 |
result = response.json()
|