AC2513 commited on
Commit
d54c706
·
1 Parent(s): 0df6b7c

update timeout

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ def run(
170
  ).to(device=model_12.device, dtype=torch.bfloat16)
171
 
172
  streamer = TextIteratorStreamer(
173
- input_processor, skip_prompt=True, skip_special_tokens=True
174
  )
175
  generate_kwargs = dict(
176
  inputs,
 
170
  ).to(device=model_12.device, dtype=torch.bfloat16)
171
 
172
  streamer = TextIteratorStreamer(
173
+ input_processor, skip_prompt=True, skip_special_tokens=True, timeout=60.0
174
  )
175
  generate_kwargs = dict(
176
  inputs,