nroggendorff commited on
Commit
3c2a2e2
·
verified ·
1 Parent(s): 45e64e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,9 +1,7 @@
1
  from transformers import pipeline as pl
2
  import gradio as gr
3
 
4
- oracle = pl(
5
- model = "text-classification"
6
- )
7
 
8
  def pipe(text: str):
9
  return oracle(text)
 
1
  from transformers import pipeline as pl
2
  import gradio as gr
3
 
4
+ oracle = pl("text-classification")
 
 
5
 
6
  def pipe(text: str):
7
  return oracle(text)