Madiharehan commited on
Commit
2da4685
1 Parent(s): 4d40c1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
2
  import streamlit as st
3
  import torch
4
 
5
- # Load tokenizer and model from Hugging Face Hub
6
  tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment")
7
  model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment")
8
 
 
2
  import streamlit as st
3
  import torch
4
 
5
+ # Load tokenizer and model from Hugging Face
6
  tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment")
7
  model = AutoModelForSequenceClassification.from_pretrained("cardiffnlp/twitter-roberta-base-sentiment")
8