Spaces:
Runtime error
Runtime error
File size: 409 Bytes
5a590f9 d7e648f 5a590f9 d7e648f 3c9db94 5a590f9 c45cfc5 5a590f9 d7e648f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from pathlib import Path
import gradio as gr
from grote.app import make_demo
if __name__ == "__main__":
current_file_path = Path(__file__).resolve()
img_path = (current_file_path.parent / "assets" / "img").resolve()
gr.set_static_paths(paths=[img_path])
make_demo().queue(api_open=False).launch(
show_api=False, allowed_paths=[img_path], favicon_path=img_path / "favicon.ico"
)
|