Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ processor = AutoProcessor.from_pretrained("{target_repo}")
|
|
149 |
|
150 |
return CommitInfo(repo_url=f"https://huggingface.co/{target_repo}")
|
151 |
|
152 |
-
@spaces.GPU(duration=
|
153 |
def run(
|
154 |
model_id: str,
|
155 |
token: str,
|
|
|
149 |
|
150 |
return CommitInfo(repo_url=f"https://huggingface.co/{target_repo}")
|
151 |
|
152 |
+
@spaces.GPU(duration=900) # 15 minutes timeout for large models
|
153 |
def run(
|
154 |
model_id: str,
|
155 |
token: str,
|