Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ from threading import RLock
|
|
| 11 |
lock = RLock()
|
| 12 |
HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None # If private or gated models aren't used, ENV setting is unnecessary.
|
| 13 |
|
| 14 |
-
inference_timeout =
|
| 15 |
MAX_SEED = 2**32-1
|
| 16 |
current_model = models[0]
|
| 17 |
text_gen1 = extend_prompt
|
|
|
|
| 11 |
lock = RLock()
|
| 12 |
HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None # If private or gated models aren't used, ENV setting is unnecessary.
|
| 13 |
|
| 14 |
+
inference_timeout = 500
|
| 15 |
MAX_SEED = 2**32-1
|
| 16 |
current_model = models[0]
|
| 17 |
text_gen1 = extend_prompt
|