AItool commited on
Commit
0b184b0
·
verified ·
1 Parent(s): 0ce466b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -4,7 +4,12 @@ __all__ = ['learn', 'classify_image', 'categories', 'classifier', 'virtual','ima
4
  from fastai.vision.all import *
5
  import gradio as gr
6
  import timm
 
7
 
 
 
 
 
8
  def is_real(x): return x[0].isupper()
9
 
10
  #|export
 
4
  from fastai.vision.all import *
5
  import gradio as gr
6
  import timm
7
+ import pickle
8
 
9
+ with open('./model.pkl', 'rb') as f:
10
+ model = pickle.load(f)
11
+
12
+
13
  def is_real(x): return x[0].isupper()
14
 
15
  #|export