nguyennghia0902
commited on
Commit
•
7e955a8
1
Parent(s):
5c4f6d0
Update screen
Browse files
Sentiment_Analysis.py
CHANGED
@@ -70,6 +70,17 @@ def predict(content):
|
|
70 |
def main():
|
71 |
st.set_page_config(page_title="Sentiment Analysis", page_icon="📝")
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
# giving a title to our page
|
74 |
st.title("Sentiment analysis")
|
75 |
contents = st.text_area(
|
|
|
70 |
def main():
|
71 |
st.set_page_config(page_title="Sentiment Analysis", page_icon="📝")
|
72 |
|
73 |
+
st.title("Seminar Công nghệ Tri thức - Transformer trong NLP")
|
74 |
+
st.markdown(
|
75 |
+
"""
|
76 |
+
**Team members:**
|
77 |
+
| Student ID | Full Name |
|
78 |
+
| ---------- | ------------------------ |
|
79 |
+
| 19120600 | Bùi Nguyên Nghĩa |
|
80 |
+
| 19120607 | Phạm Thị Nguyệt |
|
81 |
+
"""
|
82 |
+
)
|
83 |
+
|
84 |
# giving a title to our page
|
85 |
st.title("Sentiment analysis")
|
86 |
contents = st.text_area(
|
streamlit_app.py/pages/Sentiment_Analysis.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
from os import path
|
2 |
import streamlit as st
|
3 |
|
4 |
-
import pickle
|
5 |
|
6 |
# from tensorflow import keras
|
7 |
-
import tensorflow as tf
|
8 |
import torch
|
9 |
from torch import nn
|
10 |
from transformers import BertModel, BertTokenizer
|
@@ -70,6 +70,17 @@ def predict(content):
|
|
70 |
def main():
|
71 |
st.set_page_config(page_title="Sentiment Analysis", page_icon="📝")
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
# giving a title to our page
|
74 |
st.title("Sentiment analysis")
|
75 |
contents = st.text_area(
|
|
|
1 |
from os import path
|
2 |
import streamlit as st
|
3 |
|
4 |
+
# import pickle
|
5 |
|
6 |
# from tensorflow import keras
|
7 |
+
import tensorflow as tf
|
8 |
import torch
|
9 |
from torch import nn
|
10 |
from transformers import BertModel, BertTokenizer
|
|
|
70 |
def main():
|
71 |
st.set_page_config(page_title="Sentiment Analysis", page_icon="📝")
|
72 |
|
73 |
+
st.title("Seminar Công nghệ Tri thức - Transformer trong NLP")
|
74 |
+
st.markdown(
|
75 |
+
"""
|
76 |
+
**Team members:**
|
77 |
+
| Student ID | Full Name |
|
78 |
+
| ---------- | ------------------------ |
|
79 |
+
| 19120600 | Bùi Nguyên Nghĩa |
|
80 |
+
| 19120607 | Phạm Thị Nguyệt |
|
81 |
+
"""
|
82 |
+
)
|
83 |
+
|
84 |
# giving a title to our page
|
85 |
st.title("Sentiment analysis")
|
86 |
contents = st.text_area(
|