Spaces:
Running
on
Zero
Running
on
Zero
amlpai04
commited on
Commit
·
5c2cbe3
1
Parent(s):
e6c2b26
template folder fix path
Browse files- app/main.py +4 -4
app/main.py
CHANGED
@@ -5,13 +5,13 @@ from app.tabs.adv_htrflow_tab import adv_htrflow_pipeline
|
|
5 |
from app.tabs.examples_tab import examples
|
6 |
from app.tabs.templating import (
|
7 |
templating_block,
|
8 |
-
|
9 |
-
|
10 |
)
|
11 |
from app.utils.md_helper import load_markdown
|
12 |
|
13 |
-
gr.set_static_paths(paths=[
|
14 |
-
gr.set_static_paths(paths=[
|
15 |
|
16 |
|
17 |
with gr.Blocks(title="HTRflow", theme=theme, css=css) as demo:
|
|
|
5 |
from app.tabs.examples_tab import examples
|
6 |
from app.tabs.templating import (
|
7 |
templating_block,
|
8 |
+
TEMPLATE_IMAGE_FOLDER,
|
9 |
+
TEMPLATE_YAML_FOLDER,
|
10 |
)
|
11 |
from app.utils.md_helper import load_markdown
|
12 |
|
13 |
+
gr.set_static_paths(paths=[TEMPLATE_IMAGE_FOLDER])
|
14 |
+
gr.set_static_paths(paths=[TEMPLATE_YAML_FOLDER])
|
15 |
|
16 |
|
17 |
with gr.Blocks(title="HTRflow", theme=theme, css=css) as demo:
|