cristinae nicocalji commited on
Commit
bf5a523
·
verified ·
1 Parent(s): 2a31d5e

Corrección de error por uso incorrecto de gr.Markdown en TabbedInterface (#12)

Browse files

- Corrección de error por uso incorrecto de gr.Markdown en TabbedInterface (ff1359d5958688f7498f14b7ff5549814b3d7584)


Co-authored-by: Nicolás Calvache <nicocalji@users.noreply.huggingface.co>

Files changed (1) hide show
  1. infer_onnx.py +6 -3
infer_onnx.py CHANGED
@@ -283,9 +283,12 @@ matcha_inference = gr.Interface(
283
  outputs=[gr.Audio(label="Matxa + alVoCat", interactive=False, type="filepath")]
284
  )
285
 
286
- about_tab = gr.Markdown(about)
287
- informacio_tab = gr.Markdown(informacio)
288
-
 
 
 
289
  demo = gr.Blocks(theme=theme, css="./styles.css")
290
 
291
  with demo:
 
283
  outputs=[gr.Audio(label="Matxa + alVoCat", interactive=False, type="filepath")]
284
  )
285
 
286
+ about_tab = gr.Blocks()
287
+ with about_tab:
288
+ gr.Markdown(about)
289
+ informacio_tab = gr.Blocks()
290
+ with informacio_tab:
291
+ gr.Markdown(informacio)
292
  demo = gr.Blocks(theme=theme, css="./styles.css")
293
 
294
  with demo: