Update app.py
Browse files
app.py
CHANGED
|
@@ -212,7 +212,8 @@ async def _file_upload(img:
|
|
| 212 |
|
| 213 |
return json.loads(json.dumps(x))
|
| 214 |
|
| 215 |
-
|
|
|
|
| 216 |
|
| 217 |
def main(img):
|
| 218 |
# set license.
|
|
@@ -227,7 +228,7 @@ def main(img):
|
|
| 227 |
|
| 228 |
import gradio as gr
|
| 229 |
|
| 230 |
-
io = gr.Interface(
|
| 231 |
|
| 232 |
#io = gr.Interface(lambda x: "Hello, " + x + "!", "textbox", "textbox")
|
| 233 |
|
|
|
|
| 212 |
|
| 213 |
return json.loads(json.dumps(x))
|
| 214 |
|
| 215 |
+
def func():
|
| 216 |
+
return Parsing International Passports
|
| 217 |
|
| 218 |
def main(img):
|
| 219 |
# set license.
|
|
|
|
| 228 |
|
| 229 |
import gradio as gr
|
| 230 |
|
| 231 |
+
io = gr.Interface(func,None,"label")
|
| 232 |
|
| 233 |
#io = gr.Interface(lambda x: "Hello, " + x + "!", "textbox", "textbox")
|
| 234 |
|