Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,6 @@ from grote.app import make_demo
|
|
| 4 |
|
| 5 |
if __name__ == "__main__":
|
| 6 |
current_file_path = Path(__file__).resolve()
|
| 7 |
-
img_path = (current_file_path.parent / "
|
| 8 |
gr.set_static_paths(paths=[img_path])
|
| 9 |
make_demo().queue(api_open=False).launch(show_api=False, allowed_paths=[img_path], favicon_path=img_path / "favicon.ico")
|
|
|
|
| 4 |
|
| 5 |
if __name__ == "__main__":
|
| 6 |
current_file_path = Path(__file__).resolve()
|
| 7 |
+
img_path = (current_file_path.parent / "assets" / "img").resolve()
|
| 8 |
gr.set_static_paths(paths=[img_path])
|
| 9 |
make_demo().queue(api_open=False).launch(show_api=False, allowed_paths=[img_path], favicon_path=img_path / "favicon.ico")
|