anonajay commited on
Commit
0426dc2
·
verified ·
1 Parent(s): e39a396

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. inference.py +1 -1
  2. openenv.yaml +11 -1
inference.py CHANGED
@@ -16,7 +16,7 @@ except ImportError:
16
  from lint_coding_agent.models import LintCodingAgentAction
17
 
18
  # CONFIGURATION
19
- ADDRESS = "http://localhost:8000"
20
  API_KEY = os.getenv("HF_TOKEN")
21
  API_BASE_URL = os.getenv("API_BASE_URL") or "https://router.huggingface.co/hf-inference/v1"
22
  MODEL_NAME = os.getenv("MODEL_NAME") or "Qwen/Qwen2.5-72B-Instruct"
 
16
  from lint_coding_agent.models import LintCodingAgentAction
17
 
18
  # CONFIGURATION
19
+ ADDRESS = "https://anonajay-lint-coding-agent.hf.space/web"
20
  API_KEY = os.getenv("HF_TOKEN")
21
  API_BASE_URL = os.getenv("API_BASE_URL") or "https://router.huggingface.co/hf-inference/v1"
22
  MODEL_NAME = os.getenv("MODEL_NAME") or "Qwen/Qwen2.5-72B-Instruct"
openenv.yaml CHANGED
@@ -3,4 +3,14 @@ name: lint_coding_agent
3
  type: space
4
  runtime: fastapi
5
  app: server.app:app
6
- port: 8000
 
 
 
 
 
 
 
 
 
 
 
3
  type: space
4
  runtime: fastapi
5
  app: server.app:app
6
+ port: 8000
7
+ tasks:
8
+ - id: syntax-fix-lvl1
9
+ name: "Basic Syntax Error"
10
+ difficulty: "easy"
11
+ - id: logic-fix-lvl2
12
+ name: "Relative Import Resolution"
13
+ difficulty: "medium"
14
+ - id: pattern-fix-lvl3
15
+ name: "PEP8 Compliance & Logic"
16
+ difficulty: "hard"