Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def generate_question_with_chatgpt(context, topic):
|
|
45 |
'correct_answer': "Unknown"
|
46 |
}
|
47 |
|
48 |
-
|
49 |
model="gpt-3.5-turbo",
|
50 |
max_tokens=1024,
|
51 |
temperature = 0.7,
|
|
|
45 |
'correct_answer': "Unknown"
|
46 |
}
|
47 |
|
48 |
+
result = client.chat.completions.create(
|
49 |
model="gpt-3.5-turbo",
|
50 |
max_tokens=1024,
|
51 |
temperature = 0.7,
|