Berbex commited on
Commit
211c106
Β·
1 Parent(s): 099934f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -1,9 +1,7 @@
1
  import gradio as gr
2
- from fastai.vision.all import *
3
-
4
- learn = load_learner("huggingface/zeroshot/twitter-financial-news-topic")
5
- learn
6
 
 
 
7
  categories = ('Car in good condition','Damaged Car')
8
 
9
  def is_car(x) : return x[0].isupper()
 
1
  import gradio as gr
 
 
 
 
2
 
3
+ dataset = load_dataset("zeroshot/twitter-financial-news-sentiment")
4
+ dataset
5
  categories = ('Car in good condition','Damaged Car')
6
 
7
  def is_car(x) : return x[0].isupper()