da03 commited on
Commit
1bc86ef
·
1 Parent(s): de88b8c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ with gr.Blocks() as demo:
15
  gr.Markdown(description)
16
  with gr.Row():
17
  with gr.Column(scale=2):
18
- textbox = gr.Textbox(label="LaTeX", lines=1, max_lines=1, placeholder='Type LaTeX formula here and click "Generate"')
19
  submit_btn = gr.Button("Generate", elem_id="btn")
20
  with gr.Column(scale=3):
21
  slider = gr.Slider(0, 1000, value=0, label='step (out of 1000)')
 
15
  gr.Markdown(description)
16
  with gr.Row():
17
  with gr.Column(scale=2):
18
+ textbox = gr.Textbox(label=r"LaTeX (e.g. \frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{(x-\mu)^2}{2\sigma^2}})", lines=1, max_lines=1, placeholder='Type LaTeX formula here and click "Generate"')
19
  submit_btn = gr.Button("Generate", elem_id="btn")
20
  with gr.Column(scale=3):
21
  slider = gr.Slider(0, 1000, value=0, label='step (out of 1000)')