sdhanabal1 commited on
Commit
f340342
1 Parent(s): f05c3e7
app.py CHANGED
@@ -53,7 +53,7 @@ def main() -> None:
53
  f"<span style='background-color: #FFFF00'>{sentence}</span>")
54
  replaced_text = replaced_text.replace('\n', '<br/>')
55
  with st.container():
56
- st.write(replaced_text, unsafe_allow_html=True)
57
 
58
  def is_valid_url(url: str) -> bool:
59
  result = validators.url(url)
 
53
  f"<span style='background-color: #FFFF00'>{sentence}</span>")
54
  replaced_text = replaced_text.replace('\n', '<br/>')
55
  with st.container():
56
+ st.markdown(replaced_text, unsafe_allow_html=True)
57
 
58
  def is_valid_url(url: str) -> bool:
59
  result = validators.url(url)
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  nlpaug==1.1.7
2
- streamlit==1.5.0
3
  torch==1.9.1
4
  torchvision==0.10.1
5
  transformers==4.10.3
 
1
  nlpaug==1.1.7
2
+ streamlit==1.0.0
3
  torch==1.9.1
4
  torchvision==0.10.1
5
  transformers==4.10.3
sample-terms-and-conditions/reddit.txt CHANGED
@@ -5,9 +5,6 @@ Reddit powers hundreds of thousands of distinct online communities. This User Ag
5
  If you live outside the European Economic Area (“EEA”), the United Kingdom, or Switzerland, your terms are here.
6
  If you live in the EEA, United Kingdom, or Switzerland, your terms are here.
7
 
8
-
9
-
10
-
11
  Reddit User Agreement if you live outside the EEA, United Kingdom, or Switzerland, including if you live in the United States
12
  Hello, redditors and people of the Internet! This Reddit User Agreement (“Terms”) applies to your access to and use of the websites, mobile apps, widgets, APIs, emails, and other online products and services (collectively, the “Services”) provided by Reddit, Inc. (“Reddit,” “we,” “us,” or “our”).
13
 
 
5
  If you live outside the European Economic Area (“EEA”), the United Kingdom, or Switzerland, your terms are here.
6
  If you live in the EEA, United Kingdom, or Switzerland, your terms are here.
7
 
 
 
 
8
  Reddit User Agreement if you live outside the EEA, United Kingdom, or Switzerland, including if you live in the United States
9
  Hello, redditors and people of the Internet! This Reddit User Agreement (“Terms”) applies to your access to and use of the websites, mobile apps, widgets, APIs, emails, and other online products and services (collectively, the “Services”) provided by Reddit, Inc. (“Reddit,” “we,” “us,” or “our”).
10