Spaces:
Running
Running
Update API endpoint to internal analyze
Browse files
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",
|