sabonzo commited on
Commit
77522d9
·
verified ·
1 Parent(s): e9e7a08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -45,7 +45,7 @@ logging.getLogger("openai").setLevel(logging.WARNING)
45
 
46
  # --- Constants ---
47
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
48
- ENABLE_SUBMISSION = True # Set to True to submit results to the leaderboard
49
  MAZMAZIKA_API_URL = "https://www.mazmazika.com/dl2025.php" # For Q7 audio download
50
 
51
  # --- Helper Functions ---
@@ -1095,8 +1095,7 @@ with gr.Blocks(css=".gradio-container { max-width: 95% !important; }") as demo:
1095
  headers=["Task ID", "Question", "Submitted Answer", "Correct", "Ground Truth"],
1096
  datatype=["str", "str", "str", "str", "str"], # Specify types
1097
  wrap=True, # Allow text wrapping in cells
1098
- interactive=False,
1099
- height=600 # Set a fixed height for the table
1100
  # column_widths=["5%", "35%", "30%", "10%", "20%"] # Adjust column widths if needed
1101
  )
1102
 
 
45
 
46
  # --- Constants ---
47
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
48
+ ENABLE_SUBMISSION = False # Set to True to submit results to the leaderboard
49
  MAZMAZIKA_API_URL = "https://www.mazmazika.com/dl2025.php" # For Q7 audio download
50
 
51
  # --- Helper Functions ---
 
1095
  headers=["Task ID", "Question", "Submitted Answer", "Correct", "Ground Truth"],
1096
  datatype=["str", "str", "str", "str", "str"], # Specify types
1097
  wrap=True, # Allow text wrapping in cells
1098
+ interactive=False
 
1099
  # column_widths=["5%", "35%", "30%", "10%", "20%"] # Adjust column widths if needed
1100
  )
1101