Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ student_question = st.text_input("Ask your question in English or Arabic!")
|
|
37 |
# Generate and display response using the LLaMA model
|
38 |
if student_question:
|
39 |
# Adjust prompt to encourage student-friendly responses
|
40 |
-
prompt = f"
|
41 |
|
42 |
# Call the pipeline with adjusted parameters
|
43 |
response = model_pipeline(
|
|
|
37 |
# Generate and display response using the LLaMA model
|
38 |
if student_question:
|
39 |
# Adjust prompt to encourage student-friendly responses
|
40 |
+
prompt = f"Please explain the answer step by step in simple terms to a young student: '{student_question}'"
|
41 |
|
42 |
# Call the pipeline with adjusted parameters
|
43 |
response = model_pipeline(
|