jatinror commited on
Commit
6e5a38d
·
verified ·
1 Parent(s): 78f7f99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ BASE_URL = os.environ.get("GAIA_API_URL")
12
  # Your username (auto-detected, fallback added)
13
  HF_USERNAME = os.environ.get("SPACE_AUTHOR_NAME", "jatinror")
14
 
15
- # Your Space ID hardcoded as fallback
16
  SPACE_ID = os.environ.get("SPACE_ID", "jatinror/Final_Assignment_Template")
17
 
18
  AGENT_CODE_URL = f"https://huggingface.co/spaces/{SPACE_ID}/tree/main"
@@ -137,7 +137,7 @@ def run_agent():
137
  print("Finished submission.")
138
 
139
  # ===============================
140
- # GRADIO UI (Required for Spaces)
141
  # ===============================
142
 
143
  def run_pipeline():
 
12
  # Your username (auto-detected, fallback added)
13
  HF_USERNAME = os.environ.get("SPACE_AUTHOR_NAME", "jatinror")
14
 
15
+ # Your Space ID hardcoded as fallback
16
  SPACE_ID = os.environ.get("SPACE_ID", "jatinror/Final_Assignment_Template")
17
 
18
  AGENT_CODE_URL = f"https://huggingface.co/spaces/{SPACE_ID}/tree/main"
 
137
  print("Finished submission.")
138
 
139
  # ===============================
140
+ # GRADIO UI (Required for Run Button)
141
  # ===============================
142
 
143
  def run_pipeline():