mkthoma commited on
Commit
c7b0633
1 Parent(s): 6ea445d

app update

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
8
 
9
 
10
 
11
- def generate(question):
12
  system_message = "You are a question answering chatbot. Provide a clear and detailed explanation"
13
  prompt = f"[INST] <<SYS>>\n{system_message}\n<</SYS>>\n\n {question} [/INST]" # replace the command here with something relevant to your task
14
 
 
8
 
9
 
10
 
11
+ def generate(question, context):
12
  system_message = "You are a question answering chatbot. Provide a clear and detailed explanation"
13
  prompt = f"[INST] <<SYS>>\n{system_message}\n<</SYS>>\n\n {question} [/INST]" # replace the command here with something relevant to your task
14