Carolzinha2010 commited on
Commit
63a4dbe
·
verified ·
1 Parent(s): 941edf5

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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}/agent_challenge/questions" # Corrected endpoint
468
- submit_url = f"{api_url}/agent_challenge/submit" # Corrected endpoint
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