pepereeee commited on
Commit
a326592
1 Parent(s): 90dd709

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- proc1 = gr.Interface.load("models/prompthero/funko-diffusion",live=True,preprocess=True, postprocess=False)
4
 
5
  async def send_it1(inputs,proc1=proc1):
6
  output1= proc1(inputs)
@@ -36,7 +36,7 @@ with gr.Blocks() as myface:
36
 
37
 
38
 
39
- btn.click(send_it1, inputs=[text], outputs=[gallery], postprocess=False, api_name="text")
40
 
41
  if __name__ == "__main__":
42
  myface.launch()
 
1
  import gradio as gr
2
 
3
+ proc1 = gr.Interface.load("models/prompthero/funko-diffusion")
4
 
5
  async def send_it1(inputs,proc1=proc1):
6
  output1= proc1(inputs)
 
36
 
37
 
38
 
39
+ btn.click(send_it1, inputs=[text], outputs=[gallery], api_name="text")
40
 
41
  if __name__ == "__main__":
42
  myface.launch()