Docfile commited on
Commit
4d439c6
·
verified ·
1 Parent(s): 2c49e69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -30
app.py CHANGED
@@ -66,34 +66,5 @@ markdown = r"""
66
  """.format(e=e)
67
 
68
 
69
- iface = gr.Interface(fn=generate_content, inputs=gr.Image(type='pil'),outputs= gr.Markdown(markdown, latex_delimiters=[{
70
- "left": "\\(",
71
- "right": "\\)",
72
- "display": True
73
- }, {
74
- "left": "\\begin\{equation\}",
75
- "right": "\\end\{equation\}",
76
- "display": True
77
- }, {
78
- "left": "\\begin\{align\}",
79
- "right": "\\end\{align\}",
80
- "display": True
81
- }, {
82
- "left": "\\begin\{alignat\}",
83
- "right": "\\end\{alignat\}",
84
- "display": True
85
- }, {
86
- "left": "\\begin\{gather\}",
87
- "right": "\\end\{gather\}",
88
- "display": True
89
- }, {
90
- "left": "\\begin\{CD\}",
91
- "right": "\\end\{CD\}",
92
- "display": True
93
- }, {
94
- "left": "\\[",
95
- "right": "\\]",
96
- "display": True
97
- }] ))
98
-
99
  iface.launch()
 
66
  """.format(e=e)
67
 
68
 
69
+ iface = gr.Interface(fn=generate_content, inputs=gr.Image(type='pil'),outputs= gr.Markdown(markdown, latex_delimiters=[{ "left":"$$", "right":"$$", "display": True }]))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  iface.launch()