Spaces:
Sleeping
Sleeping
robert
commited on
Commit
·
6b0660d
1
Parent(s):
88e04e3
Reducing the duration under allowed maximum
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ class StopOnSequence(StoppingCriteria):
|
|
52 |
)
|
53 |
|
54 |
|
55 |
-
@spaces.GPU(duration=
|
56 |
def spaces_model_predict(message: str, history: list[tuple[str, str]]):
|
57 |
history_transformer_format = history + [[message, ""]]
|
58 |
stop = StopOnSequence("<|human|>", tokenizer)
|
|
|
52 |
)
|
53 |
|
54 |
|
55 |
+
@spaces.GPU(duration=42)
|
56 |
def spaces_model_predict(message: str, history: list[tuple[str, str]]):
|
57 |
history_transformer_format = history + [[message, ""]]
|
58 |
stop = StopOnSequence("<|human|>", tokenizer)
|