kamran-r123 commited on
Commit
8d31941
·
1 Parent(s): a114927

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ import gradio as gr
4
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
5
 
6
  def tokenize(text):
7
- return tok.encode(text, add_special_tokens=False)
 
8
 
9
  def format_prompt(message, history):
10
  prompt = ""
 
4
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
5
 
6
  def tokenize(text):
7
+ return text
8
+ # return tok.encode(text, add_special_tokens=False)
9
 
10
  def format_prompt(message, history):
11
  prompt = ""