Next commited on
Commit
c270adf
·
verified ·
1 Parent(s): 7ab595d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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"):