ahmedfaiyaz commited on
Commit
24a2b83
·
verified ·
1 Parent(s): 38c0c32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -465,7 +465,7 @@ def switch_pipeline(modelname:str):
465
  global current_model
466
  current_model=modelname
467
  return f"""
468
- <div style="text-align: center; margin: 0 auto;">Selected model <a href="https://huggingface.com/models/{modelname}">{modelname}</a></div>
469
  """,gr.update(choices=character_mappings_model_wise[modelname])
470
 
471
 
@@ -480,7 +480,7 @@ with gr.Blocks(css=css,elem_id="panel") as od_app:
480
  """)
481
  #input panel
482
  choosen_model=gr.HTML(f"""
483
- <div style="text-align: center; margin: 0 auto;">Selected model <a href="https://huggingface.com/models/{current_model}">{current_model}</a></div>
484
  """)
485
  with gr.Row(elem_id="input-panel"):
486
 
 
465
  global current_model
466
  current_model=modelname
467
  return f"""
468
+ <div style="text-align: center; margin: 0 auto;">Selected model <a href="https://huggingface.com/{modelname}">{modelname}</a></div>
469
  """,gr.update(choices=character_mappings_model_wise[modelname])
470
 
471
 
 
480
  """)
481
  #input panel
482
  choosen_model=gr.HTML(f"""
483
+ <div style="text-align: center; margin: 0 auto;">Selected model <a href="https://huggingface.com/{current_model}">{current_model}</a></div>
484
  """)
485
  with gr.Row(elem_id="input-panel"):
486