Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -421,11 +421,10 @@ class AIEvaluationForm:
|
|
| 421 |
|
| 422 |
return (
|
| 423 |
scorecard, # JSON display
|
| 424 |
-
gr.Markdown("β
*Scorecard generated successfully! Download is now available.*"
|
| 425 |
-
gr.
|
| 426 |
-
download_link_html, # HTML download link
|
| 427 |
-
gr.File(value=filename, visible=True), # Backup file component
|
| 428 |
)
|
|
|
|
| 429 |
|
| 430 |
# Alternative approach: Use a more prominent file display
|
| 431 |
def generate_with_prominent_file(*args):
|
|
|
|
| 421 |
|
| 422 |
return (
|
| 423 |
scorecard, # JSON display
|
| 424 |
+
gr.Markdown("β
*Scorecard generated successfully! Download is now available below.*"), # Status update
|
| 425 |
+
gr.File(value=filename, visible=True, label=f"π₯ {filename} - Click to Download") # Download file
|
|
|
|
|
|
|
| 426 |
)
|
| 427 |
+
|
| 428 |
|
| 429 |
# Alternative approach: Use a more prominent file display
|
| 430 |
def generate_with_prominent_file(*args):
|