meeww commited on
Commit
ac391cc
·
1 Parent(s): b812e59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -44,8 +44,11 @@ def crop():
44
  crop()
45
 
46
 
47
- def greet(name):
48
- return "Hello " + name + "!!"
 
 
 
49
 
50
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
51
  iface.launch()
 
44
  crop()
45
 
46
 
47
+ def generate(name):
48
+ init()
49
+ crop()
50
+ img = Image.open("results64/0.png")
51
+ return
52
 
53
+ iface = gr.Interface(fn=greet, inputs=None, outputs="img")
54
  iface.launch()