CreitinGameplays commited on
Commit
fa65abe
1 Parent(s): 89a382b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
21
 
22
  if torch.cuda.is_available():
23
  model_id = "CreitinGameplays/ConvAI-9b"
24
- model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto", auth_token=hf_token)
25
  tokenizer = AutoTokenizer.from_pretrained(model_id)
26
 
27
  @spaces.GPU
 
21
 
22
  if torch.cuda.is_available():
23
  model_id = "CreitinGameplays/ConvAI-9b"
24
+ model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto", token=hf_token)
25
  tokenizer = AutoTokenizer.from_pretrained(model_id)
26
 
27
  @spaces.GPU