amlpai04 commited on
Commit
5c2cbe3
·
1 Parent(s): e6c2b26

template folder fix path

Browse files
Files changed (1) hide show
  1. 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
- 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:
 
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: