Destrobot commited on
Commit
5426da5
·
verified ·
1 Parent(s): e1584c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import torch
3
  from transformers import AutoImageProcessor, AutoModelForImageClassification
4
 
5
- model_id = "microsoft/food101-resnet50"
6
  processor = AutoImageProcessor.from_pretrained(model_id)
7
  model = AutoModelForImageClassification.from_pretrained(model_id)
8
 
 
2
  import torch
3
  from transformers import AutoImageProcessor, AutoModelForImageClassification
4
 
5
+ model_id = "SABR22/food_models"
6
  processor = AutoImageProcessor.from_pretrained(model_id)
7
  model = AutoModelForImageClassification.from_pretrained(model_id)
8