Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def download_model():
|
|
| 31 |
if not os.path.exists(local_file):
|
| 32 |
hf_hub_download(repo_id=REPO_ID, filename=filename, local_dir='./checkpoints/dynamicrafter_1024_v1/', force_download=True)
|
| 33 |
|
| 34 |
-
@spaces.GPU(duration=
|
| 35 |
def infer(image, prompt, steps=50, cfg_scale=7.5, eta=1.0, fs=3, seed=123):
|
| 36 |
resolution = (576, 1024)
|
| 37 |
download_model()
|
|
|
|
| 31 |
if not os.path.exists(local_file):
|
| 32 |
hf_hub_download(repo_id=REPO_ID, filename=filename, local_dir='./checkpoints/dynamicrafter_1024_v1/', force_download=True)
|
| 33 |
|
| 34 |
+
@spaces.GPU(duration=300)
|
| 35 |
def infer(image, prompt, steps=50, cfg_scale=7.5, eta=1.0, fs=3, seed=123):
|
| 36 |
resolution = (576, 1024)
|
| 37 |
download_model()
|