Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,6 +28,13 @@ def get_answers(questions,model):
|
|
| 28 |
|
| 29 |
|
| 30 |
def GetLLMResponse(selected_topic_level, selected_topic,num_quizzes, model):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
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.')
|
| 32 |
|
| 33 |
st.write("running get llm response and print question prompt",question_prompt)
|
|
|
|
| 28 |
|
| 29 |
|
| 30 |
def GetLLMResponse(selected_topic_level, selected_topic,num_quizzes, model):
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
st.write("Selected option:", selected_topic_level,selected_topic,num_quizzes)
|
| 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)
|