Update app.py
Browse files
app.py
CHANGED
@@ -162,6 +162,6 @@ py_exe=d_t.to_pandas()'''
|
|
162 |
with gr.TabItem("下载测试"):
|
163 |
with gr.Row():
|
164 |
xz_button=gr.Button("绑定下载资源>>")
|
165 |
-
xz_button.click(xz,
|
166 |
|
167 |
demo.launch()
|
|
|
162 |
with gr.TabItem("下载测试"):
|
163 |
with gr.Row():
|
164 |
xz_button=gr.Button("绑定下载资源>>")
|
165 |
+
xz_button.click(xz,[], gr.File(label="输出下载资源"),api_name='xz')
|
166 |
|
167 |
demo.launch()
|