hasibzunair commited on
Commit
3b396e0
Β·
1 Parent(s): 75307cb
Files changed (1) hide show
  1. app.py +2 -2
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. If ERROR, please try again.</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,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)