Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def fn(run):
|
|
| 20 |
images = [(hf_hub_url(repo_id=repo_id, filename=img, repo_type='dataset'), f"Seed: {Path(img).stem}") for img in data[run]]
|
| 21 |
prompt_config_url = hf_hub_url(
|
| 22 |
repo_id=repo_id,
|
| 23 |
-
filename='
|
| 24 |
repo_type='dataset'
|
| 25 |
)
|
| 26 |
prompt_config_json = requests.get(prompt_config_url).json()
|
|
|
|
| 20 |
images = [(hf_hub_url(repo_id=repo_id, filename=img, repo_type='dataset'), f"Seed: {Path(img).stem}") for img in data[run]]
|
| 21 |
prompt_config_url = hf_hub_url(
|
| 22 |
repo_id=repo_id,
|
| 23 |
+
filename=f'{run}/prompt_config.json',
|
| 24 |
repo_type='dataset'
|
| 25 |
)
|
| 26 |
prompt_config_json = requests.get(prompt_config_url).json()
|