Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -620,7 +620,7 @@ with gr.Blocks() as app:
|
|
| 620 |
def return_score(text):
|
| 621 |
print(text)
|
| 622 |
return text
|
| 623 |
-
create_im.click(return_score,score,[score],
|
| 624 |
#zoom_btn.change(zoom_update,zoom_btn,None)
|
| 625 |
upd_button.click(mm,[e_box,zoom_btn],[m_box,url_box])
|
| 626 |
#inp_query.change(search_models,inp_query,models_dd)
|
|
|
|
| 620 |
def return_score(text):
|
| 621 |
print(text)
|
| 622 |
return text
|
| 623 |
+
create_im.click(return_score,score,[score],js=score_js).then(create_image,score,svg_img)
|
| 624 |
#zoom_btn.change(zoom_update,zoom_btn,None)
|
| 625 |
upd_button.click(mm,[e_box,zoom_btn],[m_box,url_box])
|
| 626 |
#inp_query.change(search_models,inp_query,models_dd)
|