ahmedfaiyaz commited on
Commit
2927ac6
·
verified ·
1 Parent(s): 5f7ac8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.com/{modelname}">{modelname}</a></div>
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.com/{current_model}">{current_model}</a></div>
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