samzito12 commited on
Commit
f53bfec
·
1 Parent(s): 503ff85

updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def chat(message, history):
28
  conversation += f"User: {message}\nAssistant:"
29
 
30
  # Tokenize
31
- inputs = tokenizer(conversation, return_tensors="pt", truncate=True, max_length=2048)
32
 
33
  # Generate
34
  with torch.no_grad():
 
28
  conversation += f"User: {message}\nAssistant:"
29
 
30
  # Tokenize
31
+ inputs = tokenizer(conversation, return_tensors="pt", truncation=True, max_length=2048)
32
 
33
  # Generate
34
  with torch.no_grad():