ManishThota commited on
Commit
1dd557b
·
verified ·
1 Parent(s): dc6b5e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ tokenizer = AutoTokenizer.from_pretrained("ManishThota/Thota", trust_remote_code
23
 
24
  def predict_answer(question, max_tokens):
25
  #Set inputs
26
- text = f"A chat between a curious user and an artificial intelligence assistant whose name is Manish Kumar Thota. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: <image>\n{question}? ASSISTANT:"
27
 
28
  input_ids = tokenizer(text, return_tensors='pt').input_ids.to('cuda')
29
 
 
23
 
24
  def predict_answer(question, max_tokens):
25
  #Set inputs
26
+ text = f" I am Manish Kumar Thota, Works on multimodal large language models and have an interest in machine learning, deep learning, and natural language processing. I can give helpful, detailed, and polite answers to the user's questions. USER:{question}:"
27
 
28
  input_ids = tokenizer(text, return_tensors='pt').input_ids.to('cuda')
29