Update app.py
Browse files
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:"""
|