changxin commited on
Commit
a0927ea
·
1 Parent(s): ff68a5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -136,7 +136,7 @@ with demo:
136
  d3_button.click(d3_js, inputs=[], outputs=d3_output,api_name='d3_js')
137
  with gr.TabItem("pygal"):
138
  pyga_button=gr.Button("pygal>>")
139
- pyga_output=[gr.File(label="pygal_chart"),gr.Textbox(label="pygal_chart1",lines=10),gr.Textbox(label="pygal_chart2",lines=3),gr.Markdown(label="html渲染")]
140
  pyga_button.click(pygalc, inputs=[], outputs=pyga_output,api_name='pygal')
141
 
142
  with gr.TabItem("echarts"):
 
136
  d3_button.click(d3_js, inputs=[], outputs=d3_output,api_name='d3_js')
137
  with gr.TabItem("pygal"):
138
  pyga_button=gr.Button("pygal>>")
139
+ pyga_output=[gr.File(label="pygal_chart"),gr.Textbox(label="pygal_chart1",lines=10),gr.Textbox(label="pygal_chart2",lines=3),gr.HTML(label="html渲染")]
140
  pyga_button.click(pygalc, inputs=[], outputs=pyga_output,api_name='pygal')
141
 
142
  with gr.TabItem("echarts"):