kuyesu22 commited on
Commit
237a4f6
·
verified ·
1 Parent(s): 84a81de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ pipe = pipeline(
36
  # Function to generate predictions based on the question
37
  def generate_response(question):
38
  # Construct a prompt based only on the user's question
39
- prompt = f"""You are an AI assistant specialized in answering questions related to prenatal, can you respond only in Runyakole a language spoken by people in western Uganda.
40
  Please provide a detailed response in Runyankore for the following question:
41
  Question: {question}
42
  Answer:"""
 
36
  # Function to generate predictions based on the question
37
  def generate_response(question):
38
  # Construct a prompt based only on the user's question
39
+ prompt = f"""You are an AI assistant specialized in answering questions related to prenatal, can you respond appropriately to the user only in Runyakole a language spoken by people in western Uganda.
40
  Please provide a detailed response in Runyankore for the following question:
41
  Question: {question}
42
  Answer:"""