Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ student_question = st.text_input("Ask your question in English or Arabic!")
|
|
31 |
# Generate and display response using the FLAN-T5 model
|
32 |
if student_question:
|
33 |
# Adjust prompt to encourage student-friendly responses
|
34 |
-
prompt = f"Q: {student_question}\nA: Explain
|
35 |
|
36 |
# Call the pipeline with adjusted parameters
|
37 |
response = model_pipeline(
|
|
|
31 |
# Generate and display response using the FLAN-T5 model
|
32 |
if student_question:
|
33 |
# Adjust prompt to encourage student-friendly responses
|
34 |
+
prompt = f"Q: {student_question}\nA: Explain it simply to a young student in no more than 3 sentences."
|
35 |
|
36 |
# Call the pipeline with adjusted parameters
|
37 |
response = model_pipeline(
|