Spaces:
Sleeping
Sleeping
Bump grote version
Browse files- app.py +5 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -1,9 +1,13 @@
|
|
| 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(
|
|
|
|
|
|
|
|
|
| 1 |
from pathlib import Path
|
| 2 |
+
|
| 3 |
import gradio as gr
|
| 4 |
+
|
| 5 |
from grote.app import make_demo
|
| 6 |
|
| 7 |
if __name__ == "__main__":
|
| 8 |
current_file_path = Path(__file__).resolve()
|
| 9 |
img_path = (current_file_path.parent / "assets" / "img").resolve()
|
| 10 |
gr.set_static_paths(paths=[img_path])
|
| 11 |
+
make_demo().queue(api_open=False).launch(
|
| 12 |
+
show_api=False, allowed_paths=[img_path], favicon_path=img_path / "favicon.ico"
|
| 13 |
+
)
|
requirements.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
grote==0.1.
|
|
|
|
| 1 |
+
grote==0.1.6
|