AC2513 commited on
Commit
888c5d9
·
1 Parent(s): bc0a046

extended timeout

Browse files
Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -153,7 +153,7 @@ def run(
153
  ).to(device=model.device, dtype=torch.bfloat16)
154
 
155
  streamer = TextIteratorStreamer(
156
- input_processor, timeout=30.0, skip_prompt=True, skip_special_tokens=True
157
  )
158
  generate_kwargs = dict(
159
  inputs,
 
153
  ).to(device=model.device, dtype=torch.bfloat16)
154
 
155
  streamer = TextIteratorStreamer(
156
+ input_processor, timeout=60.0, skip_prompt=True, skip_special_tokens=True
157
  )
158
  generate_kwargs = dict(
159
  inputs,