felfri commited on
Commit
d234867
Β·
verified Β·
1 Parent(s): 4b89e90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
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.*", visible=True), # Status update
425
- gr.Button("πŸ“₯ Download Scorecard JSON", variant="primary", size="lg", visible=True), # Show button
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):