Skip to content

Commit

Permalink
update: initial boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
alif_ramadhan committed May 16, 2023
1 parent 3c39b00 commit 51ef816
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .streamlit/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[theme]
# primaryColor="#FFFFFF"
backgroundColor="#1F1D2B"
# secondaryBackgroundColor="#262730"
textColor="#FFFFFF"
# font="Calibri"
18 changes: 18 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
from random import randint
import streamlit as st


st.markdown("<h3 style='text-align: center; color: #FFFFFF;'>DetectGPT</h3>", unsafe_allow_html=True)
st.markdown("<h5 style='text-align: center; color: #FFFFFF;'>We are here with AI technology to help you know the quality of your writing and prevent plagiarism</h5>", unsafe_allow_html=True)

text = st.text_area(label = "", placeholder="Input text here...")
isClick = st.button(label = "Submit")

# if text != "":
if isClick:
score = randint(1, 100)
if score > 70:
st.error("Terdeteksi Plagiarisme")
else:
st.success("Terdeteksi Original")
st.progress(score)
47 changes: 47 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
altair==4.0.0
attrs==23.1.0
blinker==1.6.2
cachetools==5.3.0
certifi==2023.5.7
charset-normalizer==3.1.0
click==8.1.3
colorama==0.4.6
decorator==5.1.1
entrypoints==0.4
gitdb==4.0.10
GitPython==3.1.31
idna==3.4
importlib-metadata==6.6.0
Jinja2==3.1.2
jsonschema==4.17.3
markdown-it-py==2.2.0
MarkupSafe==2.1.2
mdurl==0.1.2
numpy==1.24.3
packaging==23.1
pandas==2.0.1
Pillow==9.5.0
protobuf==3.20.3
pyarrow==12.0.0
pydeck==0.8.1b0
Pygments==2.15.1
Pympler==1.0.1
pyrsistent==0.19.3
python-dateutil==2.8.2
pytz==2023.3
requests==2.30.0
rich==13.3.5
semver==3.0.0
six==1.16.0
smmap==5.0.0
streamlit==1.11.0
toml==0.10.2
toolz==0.12.0
tornado==6.3.2
typing_extensions==4.5.0
tzdata==2023.3
tzlocal==5.0.1
urllib3==2.0.2
validators==0.20.0
watchdog==3.0.0
zipp==3.15.0

0 comments on commit 51ef816

Please sign in to comment.