FD900 commited on
Commit
d1535a9
·
verified ·
1 Parent(s): a59c895

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from agent import BasicAgent
8
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
9
 
10
  def run_and_submit_all(profile: gr.OAuthProfile | None):
11
- space_id = os.getenv("SPACE_ID")
12
  if profile:
13
  username= f"{profile.username}"
14
  print(f"User logged in: {username}")
 
8
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
9
 
10
  def run_and_submit_all(profile: gr.OAuthProfile | None):
11
+ space_id = os.getenv("HF_TOKEN")
12
  if profile:
13
  username= f"{profile.username}"
14
  print(f"User logged in: {username}")