Omnibus commited on
Commit
bc2df81
1 Parent(s): 52a2608

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -119,16 +119,16 @@ with gr.Blocks() as app:
119
  with gr.Row():
120
  with gr.Box():
121
  lab0 = gr.HTML(f"""<b>Testing on Model: <a href='https://huggingface.co/{models[0]}'>{models[0]}</a></b>""")
122
- outp0 = gr.HTML("""""")
123
  n_out0=gr.Label(label="Output")
 
124
  with gr.Box():
125
  lab1 = gr.HTML(f"""<b>Testing on Model: <a href='https://huggingface.co/{models[1]}'>{models[1]}</a></b>""")
126
- outp1 = gr.HTML("""""")
127
  n_out1=gr.Label(label="Output")
 
128
  with gr.Box():
129
  lab2 = gr.HTML(f"""<b>Testing on Model: <a href='https://huggingface.co/{models[2]}'>{models[2]}</a></b>""")
130
- outp2 = gr.HTML("""""")
131
  n_out2=gr.Label(label="Output")
 
132
  load_btn.click(load_url,in_url,[inp,mes])
133
  btn.click(aiornot0,[inp],[outp0,n_out0])
134
  btn.click(aiornot1,[inp],[outp1,n_out1])
 
119
  with gr.Row():
120
  with gr.Box():
121
  lab0 = gr.HTML(f"""<b>Testing on Model: <a href='https://huggingface.co/{models[0]}'>{models[0]}</a></b>""")
 
122
  n_out0=gr.Label(label="Output")
123
+ outp0 = gr.HTML("""""")
124
  with gr.Box():
125
  lab1 = gr.HTML(f"""<b>Testing on Model: <a href='https://huggingface.co/{models[1]}'>{models[1]}</a></b>""")
 
126
  n_out1=gr.Label(label="Output")
127
+ outp1 = gr.HTML("""""")
128
  with gr.Box():
129
  lab2 = gr.HTML(f"""<b>Testing on Model: <a href='https://huggingface.co/{models[2]}'>{models[2]}</a></b>""")
 
130
  n_out2=gr.Label(label="Output")
131
+ outp2 = gr.HTML("""""")
132
  load_btn.click(load_url,in_url,[inp,mes])
133
  btn.click(aiornot0,[inp],[outp0,n_out0])
134
  btn.click(aiornot1,[inp],[outp1,n_out1])