Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -250,7 +250,14 @@ with gr.Blocks() as demo:
|
|
250 |
"""
|
251 |
)
|
252 |
gr.LoginButton()
|
253 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
test_checkbox = gr.Checkbox(label="Enable Test Mode (Skip Submission)", value=False)
|
255 |
run_button = gr.Button("Run Evaluation")
|
256 |
status_output = gr.Textbox(label="Run Status / Submission Result", lines=5, interactive=False)
|
|
|
250 |
"""
|
251 |
)
|
252 |
gr.LoginButton()
|
253 |
+
# Fake test data
|
254 |
+
fake_user_data = {
|
255 |
+
"name": "Test User",
|
256 |
+
"email": "[email protected]",
|
257 |
+
"provider": "google"}
|
258 |
+
|
259 |
+
# Simulate OAuth profile for testing
|
260 |
+
oauth_profile = gr.OAuthProfile(data=fake_user_data)
|
261 |
test_checkbox = gr.Checkbox(label="Enable Test Mode (Skip Submission)", value=False)
|
262 |
run_button = gr.Button("Run Evaluation")
|
263 |
status_output = gr.Textbox(label="Run Status / Submission Result", lines=5, interactive=False)
|