jaimin commited on
Commit
b2eb5a7
·
1 Parent(s): 8f6aa7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -15
app.py CHANGED
@@ -4,21 +4,6 @@ import time
4
  from src.utils import paraphrase_english, paraphrase_indonesian
5
  from src.st_style import apply_prod_style
6
 
7
-
8
- # apply_prod_style(st) # NOTE: Uncomment this for production!
9
-
10
- #st.title("Article Paraphraser")
11
- #st.image(open("assets/demo.png", "rb").read())
12
- #st.write(
13
- #"""
14
- #Stop plagiarism! Do not carelessly copy and paste text materials from the internet.
15
- #**This AI tool will make your text unique and free from plagiarism.**
16
- #"""
17
- #)
18
-
19
- language = st.selectbox("Language", ["English", "Bahasa Indonesia"])
20
- input_text = st.text_area("Input your text (Max 1000 characters)", height=250, max_chars=1000)
21
-
22
  def paraphrase(text):
23
 
24
  input_text = text.replace("\n\n", "\n").replace("\n", " ").strip()
 
4
  from src.utils import paraphrase_english, paraphrase_indonesian
5
  from src.st_style import apply_prod_style
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  def paraphrase(text):
8
 
9
  input_text = text.replace("\n\n", "\n").replace("\n", " ").strip()