Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,10 +82,7 @@ def store_username(request: gr.Request):
|
|
| 82 |
"""
|
| 83 |
return request.username or ""
|
| 84 |
|
| 85 |
-
def run_and_submit_all(
|
| 86 |
-
username: str,
|
| 87 |
-
progress=gr.Progress(track_tqdm=True)
|
| 88 |
-
):
|
| 89 |
"""
|
| 90 |
Fetches all questions, runs the GaiaAgent on them, submits all answers,
|
| 91 |
and displays the results. This function is the core of the application logic.
|
|
|
|
| 82 |
"""
|
| 83 |
return request.username or ""
|
| 84 |
|
| 85 |
+
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
|
|
|
|
|
|
|
|
| 86 |
"""
|
| 87 |
Fetches all questions, runs the GaiaAgent on them, submits all answers,
|
| 88 |
and displays the results. This function is the core of the application logic.
|