jozee commited on
Commit
9c9c4d5
·
verified ·
1 Parent(s): 82f8cf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -3,9 +3,9 @@ from PIL import Image
3
  import torch
4
  from transformers import SamModel, SamProcessor
5
  import numpy as np
6
- import matplotlib
7
- matplotlib.use("Agg")
8
- print("Matplotlib version:", matplotlib.__version__)
9
  import matplotlib.pyplot as plt
10
 
11
  #Load the SAM model and processor
 
3
  import torch
4
  from transformers import SamModel, SamProcessor
5
  import numpy as np
6
+ # import matplotlib
7
+ # matplotlib.use("Agg")
8
+ # print("Matplotlib version:", matplotlib.__version__)
9
  import matplotlib.pyplot as plt
10
 
11
  #Load the SAM model and processor