Update app.py
Browse files
app.py
CHANGED
|
@@ -227,9 +227,12 @@ def main(img):
|
|
| 227 |
|
| 228 |
import gradio as gr
|
| 229 |
|
| 230 |
-
io = gr.Interface(
|
|
|
|
|
|
|
|
|
|
| 231 |
#io = gr.Interface(fn=main, inputs="image", outputs="json")
|
| 232 |
-
app = gr.mount_gradio_app(app, "/",gradio_api_url="http://localhost:7860/")
|
| 233 |
#gradio_app = gr.routes.App.create_app(io)
|
| 234 |
|
| 235 |
|
|
|
|
| 227 |
|
| 228 |
import gradio as gr
|
| 229 |
|
| 230 |
+
io = gr.Interface("Parsing International Passports")
|
| 231 |
+
|
| 232 |
+
#io = gr.Interface(lambda x: "Hello, " + x + "!", "textbox", "textbox")
|
| 233 |
+
|
| 234 |
#io = gr.Interface(fn=main, inputs="image", outputs="json")
|
| 235 |
+
app = gr.mount_gradio_app(app, io,"/",gradio_api_url="http://localhost:7860/")
|
| 236 |
#gradio_app = gr.routes.App.create_app(io)
|
| 237 |
|
| 238 |
|