NimaBoscarino commited on
Commit
02b9180
·
1 Parent(s): 6dfba09

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
  from transformers import pipeline
3
 
4
  # Initialize hotdog-not-hotdog pipeline
5
- pipeline = transformers.pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
6
 
7
  def predict(image):
8
  return pipeline(image)
 
2
  from transformers import pipeline
3
 
4
  # Initialize hotdog-not-hotdog pipeline
5
+ pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
6
 
7
  def predict(image):
8
  return pipeline(image)