VictorSanh ysharma HF staff commited on
Commit
eb9e054
1 Parent(s): 9eba1d7

increased timeout from 60 to 240s (#28)

Browse files

- increased timeout from 60 to 240s (1ee6e85582482fe5151df04b4319562214eb6c48)


Co-authored-by: yuvraj sharma <ysharma@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app_dialogue.py +1 -1
app_dialogue.py CHANGED
@@ -594,7 +594,7 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
594
  client = Client(
595
  base_url=client_endpoint,
596
  headers={"x-use-cache": "0", "Authorization": f"Bearer {API_TOKEN}"},
597
- timeout=60, # Generous time out just in case because we are in greedy. All examples should be computed in less than 30secs with the 80b-instruct.
598
  )
599
 
600
  # Common parameters to all decoding strategies
 
594
  client = Client(
595
  base_url=client_endpoint,
596
  headers={"x-use-cache": "0", "Authorization": f"Bearer {API_TOKEN}"},
597
+ timeout=240, # Generous time out just in case because we are in greedy. All examples should be computed in less than 30secs with the 80b-instruct.
598
  )
599
 
600
  # Common parameters to all decoding strategies