Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,8 @@ num_questions = st.slider("🔢 Select Number of Questions", min_value=1, max_va
|
|
26 |
# Initialize AI Model
|
27 |
model = ChatGroq(
|
28 |
temperature=0.6,
|
29 |
-
groq_api_key=GROQ_API_KEY
|
|
|
30 |
)
|
31 |
|
32 |
def generate_quiz(standard, topic, quiz_type, difficulty, num_questions):
|
|
|
26 |
# Initialize AI Model
|
27 |
model = ChatGroq(
|
28 |
temperature=0.6,
|
29 |
+
groq_api_key=GROQ_API_KEY,
|
30 |
+
model_name="llama-3.3-70b-versatile"
|
31 |
)
|
32 |
|
33 |
def generate_quiz(standard, topic, quiz_type, difficulty, num_questions):
|