Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
|
4 |
pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
|
5 |
|
6 |
-
with gr.Blocks(css=".gradio-container {background-color: red}")
|
7 |
|
8 |
def predict(image):
|
9 |
predictions = pipeline(image)
|
|
|
3 |
|
4 |
pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
|
5 |
|
6 |
+
with gr.Blocks(css=".gradio-container {background-color: red}")
|
7 |
|
8 |
def predict(image):
|
9 |
predictions = pipeline(image)
|