Arijit-hazra commited on
Commit
4efd9ed
·
1 Parent(s): 986ac19

split interface

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -42,7 +42,8 @@ def img_transcribes(image):
42
  result.append(single_transcribe(image, t))
43
  return result
44
 
45
- gr.interface(fn=img_transcribes,
46
  inputs=gr.Image(type="pil"),
47
  outputs=["text","text","text"]
48
- ).launch()
 
 
42
  result.append(single_transcribe(image, t))
43
  return result
44
 
45
+ iface = gr.interface(fn=img_transcribes,
46
  inputs=gr.Image(type="pil"),
47
  outputs=["text","text","text"]
48
+ )
49
+ iface.launch()