Spaces:
Sleeping
Sleeping
Fix static paths
Browse files- app/main.py +2 -2
app/main.py
CHANGED
@@ -21,7 +21,7 @@ from inference import (read_fragment_library, process_fragment_library, extract_
|
|
21 |
from app import static, fn, db
|
22 |
|
23 |
|
24 |
-
gr.set_static_paths(paths=["./
|
25 |
job_db = db.init_job_db()
|
26 |
os.chmod('./fpocket', 0o755)
|
27 |
|
@@ -568,7 +568,7 @@ with gr.Blocks(theme=THEME, title='GenFBDD', css=static.CSS, delete_cache=(3600,
|
|
568 |
)
|
569 |
|
570 |
# Changing the file updates the original df, the modified df, and the view
|
571 |
-
|
572 |
fn=gr_error_wrapper(read_fragment_library),
|
573 |
inputs=[frag_lib_file],
|
574 |
outputs=[frag_lib_orig_df],
|
|
|
21 |
from app import static, fn, db
|
22 |
|
23 |
|
24 |
+
gr.set_static_paths(paths=["./results/", "./app/"])
|
25 |
job_db = db.init_job_db()
|
26 |
os.chmod('./fpocket', 0o755)
|
27 |
|
|
|
568 |
)
|
569 |
|
570 |
# Changing the file updates the original df, the modified df, and the view
|
571 |
+
frag_lib_file.change(
|
572 |
fn=gr_error_wrapper(read_fragment_library),
|
573 |
inputs=[frag_lib_file],
|
574 |
outputs=[frag_lib_orig_df],
|