Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
|
5 |
access_token = st.secrets["access_token"]
|
6 |
|
7 |
-
pipe = pipeline(
|
8 |
text = st.text_area("Enter a sentence !!!")
|
9 |
|
10 |
if text:
|
|
|
4 |
|
5 |
access_token = st.secrets["access_token"]
|
6 |
|
7 |
+
pipe = pipeline("text-classification", token=access_token)
|
8 |
text = st.text_area("Enter a sentence !!!")
|
9 |
|
10 |
if text:
|