Yiran
commited on
Commit
·
aa94054
1
Parent(s):
0337b0a
update app.py
Browse files
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=
|
| 13 |
-
iface.launch(
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
model = LatexOCR()
|
| 12 |
+
iface = gr.Interface(fn=predict, inputs="image", outputs="text")
|
| 13 |
+
iface.launch()
|