Spaces:
Runtime error
Runtime error
increase timeout
Browse files
app.py
CHANGED
|
@@ -166,7 +166,7 @@ def get_response(params):
|
|
| 166 |
|
| 167 |
stopping_criteria = KeywordsStoppingCriteria(keywords, tokenizer, input_ids)
|
| 168 |
streamer = TextIteratorStreamer(
|
| 169 |
-
tokenizer, skip_prompt=True, skip_special_tokens=True, timeout=
|
| 170 |
)
|
| 171 |
|
| 172 |
max_new_tokens = min(
|
|
|
|
| 166 |
|
| 167 |
stopping_criteria = KeywordsStoppingCriteria(keywords, tokenizer, input_ids)
|
| 168 |
streamer = TextIteratorStreamer(
|
| 169 |
+
tokenizer, skip_prompt=True, skip_special_tokens=True, timeout=1500
|
| 170 |
)
|
| 171 |
|
| 172 |
max_new_tokens = min(
|