Next
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,11 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
names = []
|
| 4 |
for name in os.listdir(weight_root):
|
| 5 |
if name.endswith(".pth"):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import os
|
| 3 |
+
|
| 4 |
+
weight_root = os.getenv("weight_root")
|
| 5 |
+
weight_uvr5_root = os.getenv("weight_uvr5_root")
|
| 6 |
+
index_root = os.getenv("index_root")
|
| 7 |
+
|
| 8 |
+
|
| 9 |
names = []
|
| 10 |
for name in os.listdir(weight_root):
|
| 11 |
if name.endswith(".pth"):
|