taprosoft commited on
Commit
0ef8ba3
·
1 Parent(s): 6738aa9

fix: markdown render

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -145,7 +145,6 @@ def show_tabs(selected_methods):
145
 
146
  latex_delimiters = [
147
  {"left": "$$", "right": "$$", "display": True},
148
- {"left": "$", "right": "$", "display": False},
149
  ]
150
 
151
  # startup test (also for loading models the first time)
@@ -244,9 +243,8 @@ with gr.Blocks(
244
  with gr.Tab("Markdown render"):
245
  markdown_render = gr.Markdown(
246
  label="Markdown rendering",
247
- height=900,
248
  show_copy_button=True,
249
- line_breaks=True,
250
  latex_delimiters=latex_delimiters,
251
  )
252
  with gr.Tab("Markdown text"):
 
145
 
146
  latex_delimiters = [
147
  {"left": "$$", "right": "$$", "display": True},
 
148
  ]
149
 
150
  # startup test (also for loading models the first time)
 
243
  with gr.Tab("Markdown render"):
244
  markdown_render = gr.Markdown(
245
  label="Markdown rendering",
246
+ height=800,
247
  show_copy_button=True,
 
248
  latex_delimiters=latex_delimiters,
249
  )
250
  with gr.Tab("Markdown text"):