dimasdeffieux commited on
Commit
c509235
·
verified ·
1 Parent(s): 11c2057

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -14,8 +14,7 @@ model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_
14
 
15
  def text_inference(text, language):
16
  system_prompt = (
17
- f"Given the following {language} text, convert each word into their base form, and store in a list"
18
- "Remove all duplicates. Return the base form words as a comma-separated list, and nothing else."
19
  )
20
  user_prompt = f"{system_prompt}\n\nText:\n{text}"
21
 
 
14
 
15
  def text_inference(text, language):
16
  system_prompt = (
17
+ f"Given the following {language} text, convert each word into their base form. Remove all duplicates. Return the base form words as a comma-separated list, and nothing else."
 
18
  )
19
  user_prompt = f"{system_prompt}\n\nText:\n{text}"
20