api_open
Browse files
app.py
CHANGED
@@ -33,5 +33,5 @@ def greet(input):
|
|
33 |
return transform2(output[0])
|
34 |
|
35 |
iface = gr.Interface(fn=greet, inputs=[gr.Textbox(label="coord_zxy", value="/18/73237/95677")], outputs=[gr.Image(type="pil", width=256, label="Output Image")])
|
36 |
-
|
37 |
-
iface.launch(
|
|
|
33 |
return transform2(output[0])
|
34 |
|
35 |
iface = gr.Interface(fn=greet, inputs=[gr.Textbox(label="coord_zxy", value="/18/73237/95677")], outputs=[gr.Image(type="pil", width=256, label="Output Image")])
|
36 |
+
iface.queue(api_open=True);
|
37 |
+
iface.launch()
|