Spaces:
Sleeping
Sleeping
dolandırıldım
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def load_model():
|
|
43 |
return model, tokenizer
|
44 |
"""
|
45 |
|
46 |
-
@spaces.GPU
|
47 |
def ask(prompt):
|
48 |
if not prompt:
|
49 |
return {"error": "Prompt is missing"}
|
|
|
43 |
return model, tokenizer
|
44 |
"""
|
45 |
|
46 |
+
@spaces.GPU(duration=30)
|
47 |
def ask(prompt):
|
48 |
if not prompt:
|
49 |
return {"error": "Prompt is missing"}
|