Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,7 @@ def GetLLMResponse(selected_topic_level, selected_topic,num_quizzes, model):
|
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
-
question_prompt = ('I want you to just generate question with this specification: Generate a {selected_topic_level} math quiz on the topic of [selected_topic]. Generate only [num_quizzes] questions not more and without providing answers.')
|
| 39 |
|
| 40 |
st.write("running get llm response and print question prompt",question_prompt)
|
| 41 |
if model == "Open AI":
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
+
question_prompt = (f'I want you to just generate question with this specification: Generate a {selected_topic_level} math quiz on the topic of [selected_topic]. Generate only [num_quizzes] questions not more and without providing answers.')
|
| 39 |
|
| 40 |
st.write("running get llm response and print question prompt",question_prompt)
|
| 41 |
if model == "Open AI":
|