Spaces:
Runtime error
Runtime error
import gradio as gr | |
import os | |
def sorted(filepath): | |
return os.listdir(filepath) | |
with gr.Blocks(title="🔊",theme=gr.themes.Base(primary_hue="rose",neutral_hue="zinc")) as app: | |
with gr.Row(): | |
weight = gr.Dropdown(choices=sorted('assets/weights')) | |
app.launch() |