Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,9 @@ def run():
|
|
46 |
outputs=[
|
47 |
gr.Gallery(label="Generated images")
|
48 |
])
|
49 |
-
|
|
|
|
|
50 |
interface = gr.Interface(
|
51 |
predict,
|
52 |
inputs="text",
|
@@ -59,7 +61,5 @@ interface = gr.Interface(
|
|
59 |
)
|
60 |
interface.launch(share=True)
|
61 |
|
62 |
-
return _app
|
63 |
-
|
64 |
app = run()
|
65 |
app.launch(debug=True)
|
|
|
46 |
outputs=[
|
47 |
gr.Gallery(label="Generated images")
|
48 |
])
|
49 |
+
|
50 |
+
return _app
|
51 |
+
|
52 |
interface = gr.Interface(
|
53 |
predict,
|
54 |
inputs="text",
|
|
|
61 |
)
|
62 |
interface.launch(share=True)
|
63 |
|
|
|
|
|
64 |
app = run()
|
65 |
app.launch(debug=True)
|