maciekwisniewski commited on
Commit
8af9390
·
verified ·
1 Parent(s): 3d4d98e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -13,6 +13,8 @@ from smolagents import (
13
  # --- Constants ---
14
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
15
 
 
 
16
  class BestAgent:
17
  def __init__(self):
18
  model_id = "Qwen/Qwen2.5-Coder-32B-Instruct"
@@ -53,7 +55,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
53
  print(f"Error instantiating agent: {e}")
54
  return f"Error initializing agent: {e}", None
55
  # In the case of an app running as a hugging Face space, this link points toward your codebase ( usefull for others so please keep it public)
56
- agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
57
  print(agent_code)
58
 
59
  # 2. Fetch Questions
 
13
  # --- Constants ---
14
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
15
 
16
+ # --- Basic Agent Definition ---
17
+ # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
18
  class BestAgent:
19
  def __init__(self):
20
  model_id = "Qwen/Qwen2.5-Coder-32B-Instruct"
 
55
  print(f"Error instantiating agent: {e}")
56
  return f"Error initializing agent: {e}", None
57
  # In the case of an app running as a hugging Face space, this link points toward your codebase ( usefull for others so please keep it public)
58
+ agent_code = f"https://huggingface.co/spaces/maciekwisniewski/AgenticCourseFinal/tree/main"
59
  print(agent_code)
60
 
61
  # 2. Fetch Questions