Spaces:
Running
Running
mrfakename
commited on
Commit
•
52f15e1
1
Parent(s):
ab8269d
Update app.py
Browse files
app.py
CHANGED
@@ -380,11 +380,11 @@ def reload(chosenmodel1=None, chosenmodel2=None, userid=None, chose_a=False, cho
|
|
380 |
gr.update(value=chosenmodel2, interactive=False, visible=True),
|
381 |
]
|
382 |
if chose_a:
|
383 |
-
out.append(gr.update(value=f'
|
384 |
else:
|
385 |
out.append(gr.update(value=f'🥺 {chosenmodel1}', interactive=False, visible=True))
|
386 |
if chose_b:
|
387 |
-
out.append(gr.update(value=f'
|
388 |
else:
|
389 |
out.append(gr.update(value=f'🥺 {chosenmodel2}', interactive=False, visible=True))
|
390 |
return out
|
|
|
380 |
gr.update(value=chosenmodel2, interactive=False, visible=True),
|
381 |
]
|
382 |
if chose_a:
|
383 |
+
out.append(gr.update(value=f'✨ {chosenmodel1}', interactive=False, visible=True))
|
384 |
else:
|
385 |
out.append(gr.update(value=f'🥺 {chosenmodel1}', interactive=False, visible=True))
|
386 |
if chose_b:
|
387 |
+
out.append(gr.update(value=f'✨ {chosenmodel2}', interactive=False, visible=True))
|
388 |
else:
|
389 |
out.append(gr.update(value=f'🥺 {chosenmodel2}', interactive=False, visible=True))
|
390 |
return out
|