Spaces:
Runtime error
Runtime error
Commit
Β·
3b396e0
1
Parent(s):
75307cb
add flags
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def inference(path):
|
|
18 |
|
19 |
# Front end
|
20 |
title = "Convert images of equations into LaTeX code πβοΈβ π’"
|
21 |
-
description = "<div> Did you come across a complex mathematical expression that you want to refer to in your report/thesis? Is your freemium over at <a href='https://mathpix.com/' target='_blank'>Mathpix</a>? π« <br><br> Take a screenshot of the equation and use this application to convert it into LaTeX code. π To use it, simply upload your screenshot/equation image, or click one of the examples to load them. To verify the results, copy & paste the output in <a href='https://quicklatex.com/' target='_blank'>Quick LaTeX</a>. Read more at the links below
|
22 |
article = "<p style='text-align: center'><a href='https://lukas-blecher.github.io/LaTeX-OCR/' target='_blank'>pix2tex: Using a ViT to convert images of equations into LaTeX code</a> | <a href='https://github.com/lukas-blecher/LaTeX-OCR' target='_blank'>Github</a></p>"
|
23 |
|
24 |
|
@@ -37,4 +37,4 @@ demo = gr.Interface(
|
|
37 |
analytics_enabled=False,
|
38 |
)
|
39 |
|
40 |
-
demo.launch(enable_queue=True)
|
|
|
18 |
|
19 |
# Front end
|
20 |
title = "Convert images of equations into LaTeX code πβοΈβ π’"
|
21 |
+
description = "<div> Did you come across a complex mathematical expression that you want to refer to in your report/thesis? Is your freemium over at <a href='https://mathpix.com/' target='_blank'>Mathpix</a>? π« <br><br> Take a screenshot of the equation and use this application to convert it into LaTeX code. π To use it, simply upload your screenshot/equation image, or click one of the examples to load them. To verify the results, copy & paste the output in <a href='https://quicklatex.com/' target='_blank'>Quick LaTeX</a>. Read more at the links below.</div>"
|
22 |
article = "<p style='text-align: center'><a href='https://lukas-blecher.github.io/LaTeX-OCR/' target='_blank'>pix2tex: Using a ViT to convert images of equations into LaTeX code</a> | <a href='https://github.com/lukas-blecher/LaTeX-OCR' target='_blank'>Github</a></p>"
|
23 |
|
24 |
|
|
|
37 |
analytics_enabled=False,
|
38 |
)
|
39 |
|
40 |
+
demo.launch(debug=True, enable_queue=True)
|