tosin2013 commited on
Commit
743fb25
·
verified ·
1 Parent(s): 60c5869

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ else:
42
  hf_client = InferenceClient(
43
  model=MODEL_NAME,
44
  api_key=os.environ.get("HF_TOKEN"),
45
- timeout=30 # Reduced timeout for faster response
46
  )
47
 
48
  # Load the Hugging Face dataset
 
42
  hf_client = InferenceClient(
43
  model=MODEL_NAME,
44
  api_key=os.environ.get("HF_TOKEN"),
45
+ timeout=120 # Reduced timeout for faster response
46
  )
47
 
48
  # Load the Hugging Face dataset