Nech-C commited on
Commit
7e8ba12
·
1 Parent(s): 11cbb9c

fix: correct env variable name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
6
 
7
  load_dotenv()
8
 
9
- key = os.getenv("KEY")
10
 
11
  pipe = pipeline("image-classification", model="Nech-C/mineralimage5K-98", device='cpu')
12
 
 
6
 
7
  load_dotenv()
8
 
9
+ key = os.getenv("API_KEY")
10
 
11
  pipe = pipeline("image-classification", model="Nech-C/mineralimage5K-98", device='cpu')
12