Berbex commited on
Commit
53d0d3f
Β·
1 Parent(s): dce65c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,7 +1,9 @@
1
  import gradio as gr
2
  from fastai.vision.all import *
3
 
4
- learn = load_learner('./model.pkl')
 
 
5
  categories = ('Car in good condition','Damaged Car')
6
 
7
  def is_car(x) : return x[0].isupper()
 
1
  import gradio as gr
2
  from fastai.vision.all import *
3
 
4
+ learn = load_learner("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()