Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from datasets import load_dataset
|
|
4 |
|
5 |
dataset = load_dataset("zeroshot/twitter-financial-news-sentiment")
|
6 |
dataset
|
|
|
7 |
categories = ('Car in good condition','Damaged Car')
|
8 |
|
9 |
def is_car(x) : return x[0].isupper()
|
@@ -18,4 +19,4 @@ label = gr.components.Label()
|
|
18 |
examples = ['./car.jpg','./crash.jpg','./carf.jpg']
|
19 |
|
20 |
intf = gr.Interface(fn= image_classifier,inputs=image,outputs=label,examples=examples)
|
21 |
-
intf.launch()
|
|
|
4 |
|
5 |
dataset = load_dataset("zeroshot/twitter-financial-news-sentiment")
|
6 |
dataset
|
7 |
+
"""
|
8 |
categories = ('Car in good condition','Damaged Car')
|
9 |
|
10 |
def is_car(x) : return x[0].isupper()
|
|
|
19 |
examples = ['./car.jpg','./crash.jpg','./carf.jpg']
|
20 |
|
21 |
intf = gr.Interface(fn= image_classifier,inputs=image,outputs=label,examples=examples)
|
22 |
+
intf.launch()"""
|