Imnotchis commited on
Commit
d28d659
·
verified ·
1 Parent(s): e1b1e7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,7 +19,7 @@ class BasicAgent:
19
  visit_tool = VisitWebpageTool()
20
 
21
  #setup LLM
22
- self.model = HfApiModel("Qwen/Qwen2.5-Coder-32B-Instruct")
23
  token = os.environ.get("IMNOTCHIS_TOKEN")
24
  )
25
 
@@ -48,7 +48,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
48
  and displays the results.
49
  """
50
  # --- Determine HF Space Runtime URL and Repo URL ---
51
- space_id = os.getenv("Imnotchis/Final_Assignment_Template") # Get the SPACE_ID for sending link to the code
52
 
53
  if profile:
54
  username= f"{profile.username}"
 
19
  visit_tool = VisitWebpageTool()
20
 
21
  #setup LLM
22
+ self.model = HfApiModel("Qwen/Qwen2.5-Coder-32B-Instruct",
23
  token = os.environ.get("IMNOTCHIS_TOKEN")
24
  )
25
 
 
48
  and displays the results.
49
  """
50
  # --- Determine HF Space Runtime URL and Repo URL ---
51
+ space_id = os.getenv("SPACE_ID", "Imnotchis/Final_Assignment_Template") # Get the SPACE_ID for sending link to the code
52
 
53
  if profile:
54
  username= f"{profile.username}"