Omnibus commited on
Commit
f841bbf
1 Parent(s): bd74b6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,7 +16,7 @@ for i,model in enumerate(models):
16
  pass
17
  print (loaded_model)
18
 
19
- def run_dif(out_prompt,mod):
20
  out_box=[]
21
  out_html=""
22
  for i,ea in enumerate(loaded_model):
@@ -108,5 +108,5 @@ with gr.Blocks(css=css) as app:
108
  out_html=gr.HTML()
109
  outp=gr.Gallery()
110
  btn=gr.Button()
111
- btn.click(start_threads,inp,[outp,out_html])
112
  app.launch()
 
16
  pass
17
  print (loaded_model)
18
 
19
+ def run_dif(out_prompt):
20
  out_box=[]
21
  out_html=""
22
  for i,ea in enumerate(loaded_model):
 
108
  out_html=gr.HTML()
109
  outp=gr.Gallery()
110
  btn=gr.Button()
111
+ btn.click(run_dif,inp,[outp,out_html])
112
  app.launch()