Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -830,10 +830,8 @@ with gr.Blocks(css=fixed_css, title="Coding Copilot Pro", theme=gr.themes.Base()
|
|
| 830 |
|
| 831 |
# Show download file when available
|
| 832 |
def update_download_visibility(file_path, status):
|
| 833 |
-
|
| 834 |
-
|
| 835 |
-
return gr.File.update(visible=False), status
|
| 836 |
-
|
| 837 |
# Update download file visibility when status changes
|
| 838 |
download_status.change(
|
| 839 |
update_download_visibility,
|
|
|
|
| 830 |
|
| 831 |
# Show download file when available
|
| 832 |
def update_download_visibility(file_path, status):
|
| 833 |
+
return file_path, status
|
| 834 |
+
|
|
|
|
|
|
|
| 835 |
# Update download file visibility when status changes
|
| 836 |
download_status.change(
|
| 837 |
update_download_visibility,
|