Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +1 -1
app/main.py
CHANGED
|
@@ -118,7 +118,7 @@ async def get_quiz(
|
|
| 118 |
}
|
| 119 |
"""
|
| 120 |
try:
|
| 121 |
-
quiz = await call_cerebras_quiz_api(difficulty)
|
| 122 |
except Exception as e:
|
| 123 |
# ζ‘εΌ΅ε΄γζ±γγγγγγγ« 500 + γ‘γγ»γΌγΈγ γθΏγ
|
| 124 |
raise HTTPException(status_code=500, detail=str(e))
|
|
|
|
| 118 |
}
|
| 119 |
"""
|
| 120 |
try:
|
| 121 |
+
quiz = await call_cerebras_quiz_api(difficulty, language)
|
| 122 |
except Exception as e:
|
| 123 |
# ζ‘εΌ΅ε΄γζ±γγγγγγγ« 500 + γ‘γγ»γΌγΈγ γθΏγ
|
| 124 |
raise HTTPException(status_code=500, detail=str(e))
|