Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -460,7 +460,7 @@ def switch_pipeline(modelname:str):
|
|
460 |
global current_model
|
461 |
current_model=modelname
|
462 |
return f"""
|
463 |
-
<div style="text-align: center; margin: 0 auto;">Selected model <a href="https://huggingface.
|
464 |
""",gr.update(choices=character_mappings_model_wise[modelname])
|
465 |
|
466 |
|
@@ -475,7 +475,7 @@ with gr.Blocks(css=css,elem_id="panel") as od_app:
|
|
475 |
""")
|
476 |
#input panel
|
477 |
choosen_model=gr.HTML(f"""
|
478 |
-
<div style="text-align: center; margin: 0 auto;">Selected model <a href="https://huggingface.
|
479 |
""")
|
480 |
with gr.Row(elem_id="input-panel"):
|
481 |
|
|
|
460 |
global current_model
|
461 |
current_model=modelname
|
462 |
return f"""
|
463 |
+
<div style="text-align: center; margin: 0 auto;">Selected model <a href="https://huggingface.co/{modelname}">{modelname}</a></div>
|
464 |
""",gr.update(choices=character_mappings_model_wise[modelname])
|
465 |
|
466 |
|
|
|
475 |
""")
|
476 |
#input panel
|
477 |
choosen_model=gr.HTML(f"""
|
478 |
+
<div style="text-align: center; margin: 0 auto;">Selected model <a href="https://huggingface.co/{current_model}">{current_model}</a></div>
|
479 |
""")
|
480 |
with gr.Row(elem_id="input-panel"):
|
481 |
|