Shreyas94 commited on
Commit
5c189aa
·
verified ·
1 Parent(s): 8c73cf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -17,9 +17,6 @@ from huggingface_hub import InferenceClient
17
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
18
  MODEL_NAME = "microsoft/Phi-3-mini-4k-instruct"
19
 
20
- # Update transformers library
21
- !pip install --upgrade transformers
22
-
23
  # Load model and tokenizer, with specific handling for the Phi-3 model
24
  try:
25
  config = AutoConfig.from_pretrained(MODEL_NAME)
 
17
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
18
  MODEL_NAME = "microsoft/Phi-3-mini-4k-instruct"
19
 
 
 
 
20
  # Load model and tokenizer, with specific handling for the Phi-3 model
21
  try:
22
  config = AutoConfig.from_pretrained(MODEL_NAME)