Update app.py
Browse files
app.py
CHANGED
@@ -113,8 +113,6 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
113 |
print(status_update)
|
114 |
|
115 |
# 5. Submit
|
116 |
-
return "DUMMY Agent finished", pd.DataFrame(results_log)
|
117 |
-
"""
|
118 |
print(f"Submitting {len(answers_payload)} answers to: {submit_url}")
|
119 |
try:
|
120 |
response = requests.post(submit_url, json=submission_data, timeout=60)
|
@@ -156,8 +154,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
156 |
print(status_message)
|
157 |
results_df = pd.DataFrame(results_log)
|
158 |
return status_message, results_df
|
159 |
-
"""
|
160 |
|
|
|
161 |
# --- Build Gradio Interface using Blocks ---
|
162 |
with gr.Blocks() as demo:
|
163 |
gr.Markdown("# PGP Very Basic Agent Evaluation Runner")
|
|
|
113 |
print(status_update)
|
114 |
|
115 |
# 5. Submit
|
|
|
|
|
116 |
print(f"Submitting {len(answers_payload)} answers to: {submit_url}")
|
117 |
try:
|
118 |
response = requests.post(submit_url, json=submission_data, timeout=60)
|
|
|
154 |
print(status_message)
|
155 |
results_df = pd.DataFrame(results_log)
|
156 |
return status_message, results_df
|
|
|
157 |
|
158 |
+
|
159 |
# --- Build Gradio Interface using Blocks ---
|
160 |
with gr.Blocks() as demo:
|
161 |
gr.Markdown("# PGP Very Basic Agent Evaluation Runner")
|