Spaces:
Running
on
Zero
Running
on
Zero
Ruining Li
commited on
Commit
·
5b7efe6
1
Parent(s):
1ab3c1b
Minor
Browse files- .gitignore +2 -1
- app.py +1 -0
.gitignore
CHANGED
|
@@ -2,4 +2,5 @@ __pycache__/
|
|
| 2 |
*.py[cod]
|
| 3 |
*$py.class
|
| 4 |
*.ckpt
|
| 5 |
-
.gradio/
|
|
|
|
|
|
| 2 |
*.py[cod]
|
| 3 |
*$py.class
|
| 4 |
*.ckpt
|
| 5 |
+
.gradio/
|
| 6 |
+
gradio_outputs/
|
app.py
CHANGED
|
@@ -390,6 +390,7 @@ def create_gradio_app(particulate_app):
|
|
| 390 |
|
| 391 |
if __name__ == "__main__":
|
| 392 |
output_dir = "gradio_outputs"
|
|
|
|
| 393 |
|
| 394 |
# Load model configuration
|
| 395 |
model_config_path = "configs/particulate-B.yaml"
|
|
|
|
| 390 |
|
| 391 |
if __name__ == "__main__":
|
| 392 |
output_dir = "gradio_outputs"
|
| 393 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 394 |
|
| 395 |
# Load model configuration
|
| 396 |
model_config_path = "configs/particulate-B.yaml"
|