Spaces:
Running
on
A100
Running
on
A100
Update app.py
Browse files
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 |
|