dahongj commited on
Commit
51c5019
1 Parent(s): 00b9bf0
Files changed (2) hide show
  1. app.py +4 -1
  2. milestone3.jpg +0 -0
app.py CHANGED
@@ -2,7 +2,7 @@ import numpy as np
2
  import streamlit as st
3
  from transformers import pipeline
4
  from transformers import DistilBertTokenizerFast, DistilBertForSequenceClassification
5
-
6
  import torch
7
 
8
  def bertweet(data):
@@ -93,5 +93,8 @@ def rendPage():
93
  if(userText!="" and type != None):
94
  st.text("")
95
  getSent(userText,type)
 
 
 
96
 
97
  rendPage()
 
2
  import streamlit as st
3
  from transformers import pipeline
4
  from transformers import DistilBertTokenizerFast, DistilBertForSequenceClassification
5
+ from PIL import Image
6
  import torch
7
 
8
  def bertweet(data):
 
93
  if(userText!="" and type != None):
94
  st.text("")
95
  getSent(userText,type)
96
+
97
+ image = Image.open("milestone3.jpg")
98
+ st.image(image, caption="10 Example Texts")
99
 
100
  rendPage()
milestone3.jpg ADDED