Anthos23 commited on
Commit
870e8c5
1 Parent(s): 15d8761

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ model = AutoModelForSequenceClassification.from_pretrained(model_name)
6
  tokenizer = AutoTokenizer.from_pretrained(model_name)
7
 
8
  pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)
9
- text = st.text_area(f'Ciao! This app uses {model_name}. Enter your text to test it ❤️')
10
 
11
  if text:
12
  out = pipe(text)
 
6
  tokenizer = AutoTokenizer.from_pretrained(model_name)
7
 
8
  pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)
9
+ text = st.text_area(f'Ciao! This app uses {model_name}.\nEnter your text to test it ❤️')
10
 
11
  if text:
12
  out = pipe(text)