Yiran commited on
Commit
aa94054
·
1 Parent(s): 0337b0a

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,5 +9,5 @@ def predict(img: Image.Image) -> str:
9
 
10
 
11
  model = LatexOCR()
12
- iface = gr.Interface(fn=predict, inputs=gr.inputs.Image(), outputs="text")
13
- iface.launch(share=True)
 
9
 
10
 
11
  model = LatexOCR()
12
+ iface = gr.Interface(fn=predict, inputs="image", outputs="text")
13
+ iface.launch()