seawolf2357 commited on
Commit
1defd08
·
verified ·
1 Parent(s): 9cf25fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -43,3 +43,7 @@ iface = gr.Interface(
43
  iface.launch()
44
 
45
  examples = [['./dog.jpg'],]
 
 
 
 
 
43
  iface.launch()
44
 
45
  examples = [['./dog.jpg'],]
46
+ demo = gr.Interface(fn=process,inputs="image", outputs="image", examples=examples, title=title, description=description)
47
+
48
+ if __name__ == "__main__":
49
+ demo.launch(share=False)