baxin commited on
Commit
3283333
·
verified ·
1 Parent(s): 357210d

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -53,7 +53,7 @@ async def call_cerebras_quiz_api(difficulty: str) -> Dict[str, Any]:
53
  if not CEREBRAS_API_KEY:
54
  raise RuntimeError("CEREBRAS_API_KEY is not set")
55
 
56
- prompt = build_prompt(difficulty)
57
 
58
  headers = {
59
  "Content-Type": "application/json",
 
53
  if not CEREBRAS_API_KEY:
54
  raise RuntimeError("CEREBRAS_API_KEY is not set")
55
 
56
+ prompt = build_prompt(difficulty, language)
57
 
58
  headers = {
59
  "Content-Type": "application/json",