AlekseyKorshuk commited on
Commit
3d3e0b2
1 Parent(s): f97809b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import os
4
 
5
  token = os.environ.get("HF_TOKEN")
6
 
7
- pipe = pipeline("translation", model="herzlicemi/37a0-5klk-3rla-0", token=token)
8
 
9
  def predict(text):
10
  return str(pipe(text))
 
4
 
5
  token = os.environ.get("HF_TOKEN")
6
 
7
+ pipe = pipeline("text-classification", model="herzlicemi/37a0-5klk-3rla-0", token=token)
8
 
9
  def predict(text):
10
  return str(pipe(text))