win2win commited on
Commit
bb67b6b
·
verified ·
1 Parent(s): 5056323

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -3,15 +3,6 @@ from transformers import pipeline
3
  import gradio as gr
4
 
5
 
6
- import warnings
7
- from transformers.utils import is_xformers_available
8
-
9
- # Monkey-patch the xformers check
10
- def fake_xformers_available():
11
- return False
12
-
13
- is_xformers_available = fake_xformers_available
14
-
15
 
16
  app = FastAPI()
17
  model = pipeline("text-classification", model="win2win/3-epochs-classifier-ver2")
 
3
  import gradio as gr
4
 
5
 
 
 
 
 
 
 
 
 
 
6
 
7
  app = FastAPI()
8
  model = pipeline("text-classification", model="win2win/3-epochs-classifier-ver2")