Naz786 commited on
Commit
9f0035f
·
verified ·
1 Parent(s): fad5173

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ def call_blackbox_agent(prompt):
42
  response = requests.post(url, headers=headers, json=data)
43
  if response.status_code == 200:
44
  return response.json().get("response", response.json())
45
- #else:
46
- # return call_groq_api(prompt)
47
 
48
  # --- UTILS ---
49
  def code_matches_language(code, language):
 
42
  response = requests.post(url, headers=headers, json=data)
43
  if response.status_code == 200:
44
  return response.json().get("response", response.json())
45
+ else:
46
+ return call_groq_api(prompt)
47
 
48
  # --- UTILS ---
49
  def code_matches_language(code, language):