lucas-w commited on
Commit
3f3cf8a
β€’
1 Parent(s): cf091b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def givetext(input_text,lmodel,ltokenizer):
54
  #return (ltokenizer.decode(lmodel.generate(**model_input, max_new_tokens=100)[0], skip_special_tokens=True))
55
 
56
  def mental_chat(message, history):
57
- return givetext(patienttext,newmodel,newtokenizer)
58
 
59
  demo = gr.ChatInterface(mental_chat)
60
 
 
54
  #return (ltokenizer.decode(lmodel.generate(**model_input, max_new_tokens=100)[0], skip_special_tokens=True))
55
 
56
  def mental_chat(message, history):
57
+ return givetext(message,newmodel,newtokenizer)
58
 
59
  demo = gr.ChatInterface(mental_chat)
60