Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -39,11 +39,6 @@ def update_imgbox(choices):
|
|
39 |
return [gr.Image(None, label = m, visible = (m != 'NA')) for m in choices_plus]
|
40 |
|
41 |
|
42 |
-
def update_imgbox_gallery(choices):
|
43 |
-
choices_plus = extend_choices(choices[:num_models])
|
44 |
-
return [gr.Gallery(None, label = m, visible = (m != 'NA')) for m in choices_plus]
|
45 |
-
|
46 |
-
|
47 |
async def infer(model_str, prompt, timeout):
|
48 |
from PIL import Image
|
49 |
noise = ""
|
|
|
39 |
return [gr.Image(None, label = m, visible = (m != 'NA')) for m in choices_plus]
|
40 |
|
41 |
|
|
|
|
|
|
|
|
|
|
|
42 |
async def infer(model_str, prompt, timeout):
|
43 |
from PIL import Image
|
44 |
noise = ""
|