Umer797 commited on
Commit
4a62492
·
verified ·
1 Parent(s): 5c8f5e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ class GaiaAgent:
18
  def run_and_submit_all(profile):
19
  try:
20
  space_id = os.getenv("SPACE_ID")
21
- username = profile.username if profile else None
22
  if not username:
23
  return "❌ Please log in to Hugging Face.", None
24
 
 
18
  def run_and_submit_all(profile):
19
  try:
20
  space_id = os.getenv("SPACE_ID")
21
+ username = profile if profile else None
22
  if not username:
23
  return "❌ Please log in to Hugging Face.", None
24