Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ model = AutoModelForCausalLM.from_pretrained(model_name,
|
|
27 |
model.eval()
|
28 |
max_token_length = 4096
|
29 |
|
30 |
-
@spaces.GPU(duration=
|
31 |
def generate(
|
32 |
message: str,
|
33 |
chat_history: list[tuple[str, str]],
|
|
|
27 |
model.eval()
|
28 |
max_token_length = 4096
|
29 |
|
30 |
+
@spaces.GPU(duration=15)
|
31 |
def generate(
|
32 |
message: str,
|
33 |
chat_history: list[tuple[str, str]],
|