Spaces:
Runtime error
Runtime error
v0.1.4
Browse files- app.py +6 -1
- assets/img/favicon.ico +0 -0
- assets/img/grote_logo.png +0 -0
- assets/img/imminent_logo_white_contour.png +0 -0
- assets/img/indeep_logo_white_contour.png +0 -0
- assets/img/rug_logo_white_contour.png +0 -0
- requirements.txt +1 -1
app.py
CHANGED
@@ -1,4 +1,9 @@
|
|
|
|
|
|
1 |
from grote.app import make_demo
|
2 |
|
3 |
if __name__ == "__main__":
|
4 |
-
|
|
|
|
|
|
|
|
1 |
+
from pathlib import Path
|
2 |
+
import gradio as gr
|
3 |
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 / ".." / "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")
|
assets/img/favicon.ico
ADDED
|
assets/img/grote_logo.png
ADDED
![]() |
assets/img/imminent_logo_white_contour.png
ADDED
![]() |
assets/img/indeep_logo_white_contour.png
ADDED
![]() |
assets/img/rug_logo_white_contour.png
ADDED
![]() |
requirements.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
grote==0.1.
|
|
|
1 |
+
grote==0.1.4
|