fffiloni commited on
Commit
efa1353
1 Parent(s): aa10c6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
  from inference.utils import *
3
 
 
1
+ import sys
2
+ import os
3
+ from pathlib import Path
4
+
5
+ # Add the StableCascade directory to the Python path
6
+ stable_cascade_path = Path(__file__).parent / "third_party" / "StableCascade"
7
+ sys.path.append(str(stable_cascade_path))
8
+
9
  import gradio as gr
10
  from inference.utils import *
11