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