wajid commited on
Commit
0b0573b
·
1 Parent(s): 930e54d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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("Parsing International Passports",None,"label")
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