easxtn commited on
Commit
8ca6683
1 Parent(s): 25ab1a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def speech_to_text(audio):
16
  def text_generation(text):
17
  model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-128k-instruct",
18
  trust_remote_code=True)
19
- tokenizer = AutoTokenizer.from_pretrained("microsoft/Phi-3-mini-128k-instruct"), trust_remote_code=True)
20
 
21
  messages = [
22
  {"role": "user", "content": text}
 
16
  def text_generation(text):
17
  model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-128k-instruct",
18
  trust_remote_code=True)
19
+ tokenizer = AutoTokenizer.from_pretrained("microsoft/Phi-3-mini-128k-instruct", trust_remote_code=True)
20
 
21
  messages = [
22
  {"role": "user", "content": text}