Spaces:
Runtime error
Runtime error
Lisa Stuch
commited on
Commit
·
9c208e6
1
Parent(s):
42ee802
Add application file
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import gradio as gr
|
|
13 |
|
14 |
def is_cat(x): return x[0].isupper()
|
15 |
|
16 |
-
learn = load_learner('AnimacyClassifierGermanPoliticalText/model.pkl')
|
17 |
|
18 |
categories = ('Dog', 'Cat')
|
19 |
|
|
|
13 |
|
14 |
def is_cat(x): return x[0].isupper()
|
15 |
|
16 |
+
learn = load_learner(os.path('/Users/lisastuch/AnimacyClassifierGermanPoliticalText/model.pkl'))
|
17 |
|
18 |
categories = ('Dog', 'Cat')
|
19 |
|