Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
def greet(name):
|
| 4 |
-
return "Hello " + name + "!!"
|
| 5 |
-
|
| 6 |
with gr.Blocks(title="🔊",theme=gr.themes.Base(primary_hue="rose",neutral_hue="zinc")) as app:
|
| 7 |
with gr.Row():
|
| 8 |
-
gr.
|
| 9 |
|
| 10 |
app.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
def sorted(filepath):
|
| 5 |
+
return os.path.listdir(filepath)
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
with gr.Blocks(title="🔊",theme=gr.themes.Base(primary_hue="rose",neutral_hue="zinc")) as app:
|
| 8 |
with gr.Row():
|
| 9 |
+
weight = gr.dropdown(choices=sorted('assets/weights'))
|
| 10 |
|
| 11 |
app.launch()
|