Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,8 +44,11 @@ def crop():
|
|
44 |
crop()
|
45 |
|
46 |
|
47 |
-
def
|
48 |
-
|
|
|
|
|
|
|
49 |
|
50 |
-
iface = gr.Interface(fn=greet, inputs=
|
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()
|