hafizh zaki prasetyo adi commited on
Commit
2193f37
1 Parent(s): 7aa5bf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import time
7
  model = T5ForZeroShotClassification.from_pretrained('knowledgator/comprehend_it-multilingual-t5-base')
8
  tokenizer = T5Tokenizer.from_pretrained('knowledgator/comprehend_it-multilingual-t5-base')
9
  classifier = ZeroShotClassificationPipeline(model=model, tokenizer=tokenizer,ypothesis_template = '{}', encoder_decoder = True)
10
- st.markdown("<h2 style='text-align: center; color: black;'>Natural Language Project </h2>", unsafe_allow_html=True)
11
  st.markdown("<p style='text-align: center; color: black;'>Hafizh Zaki Prasetyo Adi|hafizhzaki6661@gmail.com|https://www.linkedin.com/in/hafizhzpa/ </p>", unsafe_allow_html=True)
12
  part=st.sidebar.radio("project",["sentimen", "emosi", "label khusus"],captions = ["menentukan label sentimen", "menentukan label emosi", "klasifikasi berdasarkan label yang ditentukan"])
13
  col1, col2 = st.columns(2)
 
7
  model = T5ForZeroShotClassification.from_pretrained('knowledgator/comprehend_it-multilingual-t5-base')
8
  tokenizer = T5Tokenizer.from_pretrained('knowledgator/comprehend_it-multilingual-t5-base')
9
  classifier = ZeroShotClassificationPipeline(model=model, tokenizer=tokenizer,ypothesis_template = '{}', encoder_decoder = True)
10
+ st.markdown("<h2 style='text-align: center; color: black;'>NLP Project </h2>", unsafe_allow_html=True)
11
  st.markdown("<p style='text-align: center; color: black;'>Hafizh Zaki Prasetyo Adi|hafizhzaki6661@gmail.com|https://www.linkedin.com/in/hafizhzpa/ </p>", unsafe_allow_html=True)
12
  part=st.sidebar.radio("project",["sentimen", "emosi", "label khusus"],captions = ["menentukan label sentimen", "menentukan label emosi", "klasifikasi berdasarkan label yang ditentukan"])
13
  col1, col2 = st.columns(2)