Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
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
|