change download button to file
Browse files
app.py
CHANGED
|
@@ -157,8 +157,11 @@ with gr.Blocks() as app:
|
|
| 157 |
|
| 158 |
output_image = gr.Image()
|
| 159 |
with gr.Row():
|
| 160 |
-
download_image = gr.DownloadButton(label='Download Image')
|
| 161 |
-
download_csv = gr.DownloadButton(label='Download Damage List')
|
|
|
|
|
|
|
|
|
|
| 162 |
|
| 163 |
|
| 164 |
button.click(damage_classification,
|
|
|
|
| 157 |
|
| 158 |
output_image = gr.Image()
|
| 159 |
with gr.Row():
|
| 160 |
+
#download_image = gr.DownloadButton(label='Download Image')
|
| 161 |
+
#download_csv = gr.DownloadButton(label='Download Damage List')
|
| 162 |
+
download_image = gr.File(label='Download Image')
|
| 163 |
+
download_csv = gr.File(label='Download Damage List')
|
| 164 |
+
|
| 165 |
|
| 166 |
|
| 167 |
button.click(damage_classification,
|