danrdoran commited on
Commit
18bb91b
1 Parent(s): 56af42b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 in simple language to a young student in no more than 3 sentences."
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(