Rejekts commited on
Commit
20765d0
1 Parent(s): 1d9146e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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.HTML("<img src='file/a.png' alt='image'>")
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()