Spaces:
Sleeping
Sleeping
Commit ·
ed8c9ff
1
Parent(s): 471a3ec
added wandb login
Browse files
app.py
CHANGED
|
@@ -4,6 +4,12 @@ import gradio as gr
|
|
| 4 |
from pathlib import Path
|
| 5 |
from fastai.vision.all import load_learner
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
categories = ['cercospora', 'common_rust', 'healthy', 'northern_leaf_blight']
|
| 8 |
|
| 9 |
learner = load_learner(Path('corn_fastai_model.pkl'))
|
|
|
|
| 4 |
from pathlib import Path
|
| 5 |
from fastai.vision.all import load_learner
|
| 6 |
|
| 7 |
+
wandb.login(key='4d2ff70f59f0bfc0397e9fea4300819244bf3fce')
|
| 8 |
+
wandb.init(
|
| 9 |
+
project='corn_fastai',
|
| 10 |
+
entity='jumashafara',
|
| 11 |
+
)
|
| 12 |
+
|
| 13 |
categories = ['cercospora', 'common_rust', 'healthy', 'northern_leaf_blight']
|
| 14 |
|
| 15 |
learner = load_learner(Path('corn_fastai_model.pkl'))
|