Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ with demo:
|
|
145 |
output = gr.Plot()
|
146 |
tb_button = gr.Button("Run")
|
147 |
with gr.Box():
|
148 |
-
pd_input=gr.Dataframe(headers=['
|
149 |
pd_output=gr.Plot()
|
150 |
pd_button=gr.Button("编辑测试")
|
151 |
|
|
|
145 |
output = gr.Plot()
|
146 |
tb_button = gr.Button("Run")
|
147 |
with gr.Box():
|
148 |
+
pd_input=gr.Dataframe(headers=['数据1','数据2'],value=[[42,10],[68,15]],datatype='number',label="可编辑数据框",interactive=True)
|
149 |
pd_output=gr.Plot()
|
150 |
pd_button=gr.Button("编辑测试")
|
151 |
|