Shreyas94 commited on
Commit
e0b4615
·
verified ·
1 Parent(s): 8dfd5bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -23,9 +23,6 @@ logger = logging.getLogger(__name__)
23
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
24
  MODEL_NAME = "microsoft/Phi-3-mini-4k-instruct"
25
 
26
- # Update transformers library
27
- !pip install --upgrade transformers
28
-
29
  # Load model and tokenizer, with specific handling for the Phi-3 model
30
  try:
31
  logger.debug("Attempting to load the model and tokenizer")
 
23
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
24
  MODEL_NAME = "microsoft/Phi-3-mini-4k-instruct"
25
 
 
 
 
26
  # Load model and tokenizer, with specific handling for the Phi-3 model
27
  try:
28
  logger.debug("Attempting to load the model and tokenizer")