Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -47,9 +47,9 @@ def load_fn(models):
|
|
47 |
|
48 |
|
49 |
"""models = models_test[1]"""
|
50 |
-
"""load_fn(models)"""
|
51 |
-
models = {}
|
52 |
load_fn(models)
|
|
|
|
|
53 |
|
54 |
|
55 |
def extend_choices(choices):
|
@@ -105,8 +105,8 @@ def make_me():
|
|
105 |
with gr.Row():
|
106 |
"""output = [gr.Image(label=m, min_width=170, height=170) for m in default_models]
|
107 |
current_models = [gr.Textbox(m, visible=False) for m in default_models]"""
|
108 |
-
|
109 |
-
choices=
|
110 |
output = [gr.Image(label=m, min_width=170, height=170) for m in choices]
|
111 |
current_models = [gr.Textbox(m, visible=False) for m in choices]
|
112 |
|
|
|
47 |
|
48 |
|
49 |
"""models = models_test[1]"""
|
|
|
|
|
50 |
load_fn(models)
|
51 |
+
"""models = {}
|
52 |
+
load_fn(models)"""
|
53 |
|
54 |
|
55 |
def extend_choices(choices):
|
|
|
105 |
with gr.Row():
|
106 |
"""output = [gr.Image(label=m, min_width=170, height=170) for m in default_models]
|
107 |
current_models = [gr.Textbox(m, visible=False) for m in default_models]"""
|
108 |
+
"""choices=models_test[0]"""
|
109 |
+
choices = []
|
110 |
output = [gr.Image(label=m, min_width=170, height=170) for m in choices]
|
111 |
current_models = [gr.Textbox(m, visible=False) for m in choices]
|
112 |
|