gsarti commited on
Commit
5a590f9
1 Parent(s): c192e9f
app.py CHANGED
@@ -1,4 +1,9 @@
 
 
1
  from grote.app import make_demo
2
 
3
  if __name__ == "__main__":
4
- make_demo().queue(api_open=False).launch(show_api=False)
 
 
 
 
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.3
 
1
+ grote==0.1.4