Spaces:
Running
Running
Commit
•
eb7e291
1
Parent(s):
c466f8d
Update app.py
Browse files
app.py
CHANGED
@@ -1,32 +1,34 @@
|
|
1 |
lllllllllllllll, llllllllllllllI, lllllllllllllIl, lllllllllllllII, llllllllllllIll, llllllllllllIlI = __name__, len, min, list, enumerate, int
|
2 |
|
3 |
-
import os as
|
4 |
-
|
5 |
-
import gradio as
|
6 |
|
7 |
-
def
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
|
|
|
|
31 |
if lllllllllllllll == '__main__':
|
32 |
-
|
|
|
1 |
lllllllllllllll, llllllllllllllI, lllllllllllllIl, lllllllllllllII, llllllllllllIll, llllllllllllIlI = __name__, len, min, list, enumerate, int
|
2 |
|
3 |
+
import os as IIIIlIIlIllIlI
|
4 |
+
IlIIlIIIIIlIlIlIll = 'xSeQ v1'
|
5 |
+
import gradio as lIlllIlllIlIII, random as IIlIllIIIlIlII
|
6 |
|
7 |
+
def lIIIIIlIIIllIIIIII(lllIIIIllIlIllIlll):
|
8 |
+
lllIllIIlIlIlllllI = 'Butter'
|
9 |
+
IllIIIlIIlIllIllIl = lllllllllllllII(lllIIIIllIlIllIlll)
|
10 |
+
lIIllIlllllIllIllI = IllIIIlIIlIllIllIl.count(IIIIlIIlIllIlI.getenv(lllIllIIlIlIlllllI))
|
11 |
+
llllIlllIIlIlIIIlI = llllllllllllIlI(lIIllIlllllIllIllI * 0.33)
|
12 |
+
llllIlIllIIlllIllI = [IllIIIlIIlIllIllIl for (IllIIIlIIlIllIllIl, llllIlllIIlIlIIIlI) in llllllllllllIll(IllIIIlIIlIllIllIl) if llllIlllIIlIlIIIlI == IIIIlIIlIllIlI.getenv(lllIllIIlIlIlllllI)]
|
13 |
+
llllIlllIIlIlIIIlI = lllllllllllllIl(llllIlllIIlIlIIIlI, llllllllllllllI(llllIlIllIIlllIllI))
|
14 |
+
IIlIIIIIlIIIlllIll = IIlIllIIIlIlII.sample(llllIlIllIIlllIllI, llllIlllIIlIlIIIlI)
|
15 |
+
for lIIlIIllIlIlIIIlII in IIlIIIIIlIIIlllIll:
|
16 |
+
IllIIIlIIlIllIllIl[lIIlIIllIlIlIIIlII] = IIIIlIIlIllIlI.getenv('Chicken')
|
17 |
+
IIIlIlIIIIIlllIlIl = ''.join(IllIIIlIIlIllIllIl)
|
18 |
+
return IIIlIlIIIIIlllIlIl
|
19 |
+
with lIlllIlllIlIII.Blocks(title='No More AI Plagiarism!') as lllllllIlIlIIIlIll:
|
20 |
+
lIlllIlllIlIII.Markdown('# No More AI Plagiarism!')
|
21 |
+
lIlllIlllIlIII.Markdown('**This app modifies your text by encrypting the text. This can help you to highly reduce AI & normal plagiarism.** Check your AI plagiarism score at these sites: [Grammarly](https://www.grammarly.com/plagiarism-checker), [Quetext](https://www.quetext.com/), [Plagscan](https://www.plagscan.com/), [Unicheck](https://unicheck.com/), [Turnitin](https://www.turnitin.com/)')
|
22 |
+
with lIlllIlllIlIII.Row():
|
23 |
+
with lIlllIlllIlIII.Column():
|
24 |
+
lIlllIlllIlIII.Dropdown(label='Select Encryptor:', choices=[IlIIlIIIIIlIlIlIll], value=IlIIlIIIIIlIlIlIll)
|
25 |
+
llllllIIIIIlIlllll = lIlllIlllIlIII.Textbox(lines=5, placeholder='Enter your text here...', label='Input Text')
|
26 |
+
with lIlllIlllIlIII.Accordion(label='I auto accept the Terms & Conditions', open=False):
|
27 |
+
lIlllIlllIlIII.Markdown('\nWelcome to the Plagiarism Remover, where creativity reigns and imitation takes a hike! Here are the terms and conditions you should read (yes, we know, it\'s like reading a novel without any cats):\n\n1. **No Copy-Paste Shenanigans:** You agree not to use our tool to replicate someone else\'s work. If you do, we\'ll unleash our team of legal wizards faster than you can say "Ctrl+C."\n\n2. **Respect the Copyright Realm:** Obey copyright laws. Seriously, our legal team is tougher than a crossword puzzle on a Monday morning.\n\n3. **Keep it Original:** Only utilize the program for your own content. Don\'t go copying everything like a kid with a new coloring book.\n\n4. **Accuracy Guaranteed (Almost):** While our tool is pretty darn accurate, we can\'t promise it\'s infallible. Even the best software sometimes misses the mark, like predictive text on a Monday.\n\n5. **Consequences are on You:** We\'re not liable for any repercussions from using our tool. If your professor gives you the side-eye for miraculously clean content, it\'s all on you.\n\n6. **Fortress-Like Security:** Your data is locked down tighter than a bank vault. We won\'t share it with anyone, not even for a chest of doubloons.\n\n7. **Stay Updated:** These terms might change occasionally. Check back here so you\'re not left in the dark like a power outage.\n')
|
28 |
+
IlIlIlIIllIllIIIlI = lIlllIlllIlIII.Button('Modify Text')
|
29 |
+
with lIlllIlllIlIII.Column():
|
30 |
+
llIIlIllIlIlIlIlII = lIlllIlllIlIII.Textbox(lines=5, label='Encrypted Text', show_copy_button=True)
|
31 |
+
lIlllIlllIlIII.Markdown('**Made by [Ayush Thakur](https://www.linkedin.com/in/ayush-thakur02/) - Make sure to give this project a like if you want it more to develop.**')
|
32 |
+
IlIlIlIIllIllIIIlI.click(fn=lIIIIIlIIIllIIIIII, inputs=llllllIIIIIlIlllll, outputs=llIIlIllIlIlIlIlII)
|
33 |
if lllllllllllllll == '__main__':
|
34 |
+
lllllllIlIlIIIlIll.launch()
|