yuzhounie commited on
Commit
c909423
·
1 Parent(s): f6f3cb4

Update API endpoint to internal analyze

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def analyze_code(code: str, language: str, model: str) -> str:
11
  if not code.strip():
12
  return "Please enter some code to analyze."
13
 
14
- api_url = f"{API_BASE_URL}/analyze"
15
 
16
  headers = {
17
  "Content-Type": "application/json",
 
11
  if not code.strip():
12
  return "Please enter some code to analyze."
13
 
14
+ api_url = f"{API_BASE_URL}/internal/analyze"
15
 
16
  headers = {
17
  "Content-Type": "application/json",