Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ try:
|
|
| 6 |
client = InferenceClient("Qwen/Qwen2.5-Coder-32B-Instruct")
|
| 7 |
except:
|
| 8 |
# Fallback if that specific model isn't on free tier right now
|
| 9 |
-
client = InferenceClient("
|
| 10 |
|
| 11 |
def analyze_code(code, language):
|
| 12 |
system_prompt = f"""You are a Senior Application Security Engineer and Expert Code Reviewer.
|
|
|
|
| 6 |
client = InferenceClient("Qwen/Qwen2.5-Coder-32B-Instruct")
|
| 7 |
except:
|
| 8 |
# Fallback if that specific model isn't on free tier right now
|
| 9 |
+
client = InferenceClient("meta-llama/Llama-3.2-3B-Instruct")
|
| 10 |
|
| 11 |
def analyze_code(code, language):
|
| 12 |
system_prompt = f"""You are a Senior Application Security Engineer and Expert Code Reviewer.
|