Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ if torch.cuda.is_available():
|
|
30 |
tokenizer.use_default_system_prompt = False
|
31 |
|
32 |
|
33 |
-
@spaces.GPU(enable_queue=True)
|
34 |
def generate(
|
35 |
message: str,
|
36 |
chat_history: list[tuple[str, str]],
|
|
|
30 |
tokenizer.use_default_system_prompt = False
|
31 |
|
32 |
|
33 |
+
@spaces.GPU(enable_queue=True, duration=300)
|
34 |
def generate(
|
35 |
message: str,
|
36 |
chat_history: list[tuple[str, str]],
|