manh08 commited on
Commit
6e2fa82
·
verified ·
1 Parent(s): 8949a6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
4
  import os
5
 
6
  # Lấy giá trị của biến môi trường
7
- model_name = os.getenv("model_name") # Lấy giá trị của biến môi trường
8
 
9
  # Khởi tạo pipeline
10
  pipe = pipeline("image-classification", model=model_name)
 
4
  import os
5
 
6
  # Lấy giá trị của biến môi trường
7
+ model_name = os.getenv("Model_name") # Lấy giá trị của biến môi trường
8
 
9
  # Khởi tạo pipeline
10
  pipe = pipeline("image-classification", model=model_name)