Spaces:
Build error
Build error
Create app.py
Browse files
app.py
CHANGED
|
@@ -464,8 +464,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None, other_arg=None): # Modi
|
|
| 464 |
return "Please Login to Hugging Face with the button.", None
|
| 465 |
|
| 466 |
api_url = DEFAULT_API_URL
|
| 467 |
-
questions_url = f"{api_url}/
|
| 468 |
-
submit_url = f"{api_url}/
|
| 469 |
|
| 470 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 471 |
print("Attempting to instantiate BasicAgent...") # Debugging print before instantiation
|
|
|
|
| 464 |
return "Please Login to Hugging Face with the button.", None
|
| 465 |
|
| 466 |
api_url = DEFAULT_API_URL
|
| 467 |
+
questions_url = f"{api_url}/questions" # Updated endpoint
|
| 468 |
+
submit_url = f"{api_url}/submit" # Updated endpoint
|
| 469 |
|
| 470 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 471 |
print("Attempting to instantiate BasicAgent...") # Debugging print before instantiation
|