Update app.py
Browse files
app.py
CHANGED
@@ -184,8 +184,12 @@ def main(img):
|
|
184 |
|
185 |
|
186 |
import gradio as gr
|
187 |
-
|
188 |
-
|
|
|
|
|
|
|
|
|
189 |
|
190 |
|
191 |
|
|
|
184 |
|
185 |
|
186 |
import gradio as gr
|
187 |
+
|
188 |
+
io = gr.Interface(fn=main, inputs="image", outputs="json")
|
189 |
+
gradio_app = gr.routes.App.create_app(io)
|
190 |
+
|
191 |
+
app.mount(CUSTOM_PATH, gradio_app)
|
192 |
+
#demo.launch()
|
193 |
|
194 |
|
195 |
|