Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,12 +46,12 @@ init()
|
|
46 |
|
47 |
|
48 |
|
49 |
-
def
|
50 |
init()
|
51 |
crop()
|
52 |
img = Image.open("results64/0.png")
|
53 |
print(img)
|
54 |
return "hi"
|
55 |
|
56 |
-
iface = gr.Interface(fn=
|
57 |
iface.launch(debug = True)
|
|
|
46 |
|
47 |
|
48 |
|
49 |
+
def gen():
|
50 |
init()
|
51 |
crop()
|
52 |
img = Image.open("results64/0.png")
|
53 |
print(img)
|
54 |
return "hi"
|
55 |
|
56 |
+
iface = gr.Interface(fn=gen, inputs=None, outputs="text")
|
57 |
iface.launch(debug = True)
|