Spaces:
Running
Running
darksakura
commited on
Commit
•
a7e8c08
1
Parent(s):
a4c3f85
Update app.py
Browse files
app.py
CHANGED
@@ -149,6 +149,12 @@ def update_dropdown(new_choices):
|
|
149 |
new_choices = gr.Dropdown.update(choices=spks)
|
150 |
return new_choices
|
151 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
app = gr.Blocks()
|
153 |
with app:
|
154 |
with gr.Tabs():
|
|
|
149 |
new_choices = gr.Dropdown.update(choices=spks)
|
150 |
return new_choices
|
151 |
if __name__ == "__main__":
|
152 |
+
modelPaths = []
|
153 |
+
|
154 |
+
for dirpath, dirnames, filenames in os.walk("./N/"):
|
155 |
+
for filename in filenames:
|
156 |
+
modelPaths.append(os.path.join(dirpath, filename))
|
157 |
+
|
158 |
app = gr.Blocks()
|
159 |
with app:
|
160 |
with gr.Tabs():
|