Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -253,7 +253,7 @@ def create_zip(svg_files):
|
|
| 253 |
zip_file.writestr(filename, content)
|
| 254 |
return zip_path
|
| 255 |
|
| 256 |
-
@spaces.GPU(duration=
|
| 257 |
def respond(message: str, system_message: str, max_tokens: int, temperature: float, top_p: float):
|
| 258 |
tokenizer, model = load_model()
|
| 259 |
if torch.cuda.is_available():
|
|
|
|
| 253 |
zip_file.writestr(filename, content)
|
| 254 |
return zip_path
|
| 255 |
|
| 256 |
+
@spaces.GPU(duration=120)
|
| 257 |
def respond(message: str, system_message: str, max_tokens: int, temperature: float, top_p: float):
|
| 258 |
tokenizer, model = load_model()
|
| 259 |
if torch.cuda.is_available():
|