Spaces:
Running
Running
Commit
•
6fb752b
1
Parent(s):
dffc7a5
Update app.py
Browse files
app.py
CHANGED
@@ -1,32 +1,32 @@
|
|
1 |
lllllllllllllll, llllllllllllllI, lllllllllllllIl, lllllllllllllII = list, __name__, enumerate, int
|
2 |
|
3 |
-
import os as
|
4 |
-
|
5 |
-
import gradio as
|
6 |
|
7 |
-
def
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
for
|
14 |
-
|
15 |
-
|
16 |
-
return
|
17 |
-
with
|
18 |
-
|
19 |
-
|
20 |
-
with
|
21 |
-
with
|
22 |
-
|
23 |
-
|
24 |
-
with
|
25 |
-
|
26 |
-
|
27 |
-
with
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
if llllllllllllllI == '__main__':
|
32 |
-
|
|
|
1 |
lllllllllllllll, llllllllllllllI, lllllllllllllIl, lllllllllllllII = list, __name__, enumerate, int
|
2 |
|
3 |
+
import os as llIlllIIIllIIl
|
4 |
+
IIlIllIllllllIllII = 'xSeQ v1'
|
5 |
+
import gradio as IllIIIIllllIll, random as lllIIlIlIIIIll
|
6 |
|
7 |
+
def lllllllllIlIIlllII(IIIlllIlIIlIIIlIll):
|
8 |
+
lIlIlIIIIIlIIlllIl = lllllllllllllll(IIIlllIlIIlIIIlIll)
|
9 |
+
llIIIIlIlIlIIIIIlI = lIlIlIIIIIlIIlllIl.count(' ')
|
10 |
+
IlllIllIlllIIllIII = lllllllllllllII(llIIIIlIlIlIIIIIlI * 0.33)
|
11 |
+
IllIIlllllIlIIlIIl = [lIlIlIIIIIlIIlllIl for (lIlIlIIIIIlIIlllIl, llIIIIlIlIlIIIIIlI) in lllllllllllllIl(lIlIlIIIIIlIIlllIl) if llIIIIlIlIlIIIIIlI == llIlllIIIllIIl.getenv('Butter')]
|
12 |
+
llIlIlllllIllllIlI = lllIIlIlIIIIll.sample(IllIIlllllIlIIlIIl, IlllIllIlllIIllIII)
|
13 |
+
for lIIllIIlIIlllIIlIl in llIlIlllllIllllIlI:
|
14 |
+
lIlIlIIIIIlIIlllIl[lIIllIIlIIlllIIlIl] = llIlllIIIllIIl.getenv('Chicken')
|
15 |
+
lIIlIllllIlllllIII = ''.join(lIlIlIIIIIlIIlllIl)
|
16 |
+
return lIIlIllllIlllllIII
|
17 |
+
with IllIIIIllllIll.Blocks(title='No More AI Plagiarism!') as IIllIIIlllllIlllll:
|
18 |
+
IllIIIIllllIll.Markdown('# No More AI Plagiarism!')
|
19 |
+
IllIIIIllllIll.Markdown('**This app modifies your text by encypting the text. This can help you to Highly reduce AI & Normal Plagiarism.** Check you AI Plagrisim 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/)')
|
20 |
+
with IllIIIIllllIll.Row():
|
21 |
+
with IllIIIIllllIll.Column():
|
22 |
+
IllIIIIllllIll.Dropdown(label='Select Encryptor:', choices=[IIlIllIllllllIllII], value=IIlIllIllllllIllII)
|
23 |
+
IIIIlIllIlIlIIIlIl = IllIIIIllllIll.Textbox(lines=5, placeholder='Enter your text here...', label='Input Text')
|
24 |
+
with IllIIIIllllIll.Accordion(label='I auto accept the Terms & Conditions', open=False):
|
25 |
+
IllIIIIllllIll.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')
|
26 |
+
IlllIIllIIlllIIlll = IllIIIIllllIll.Button('Modify Text')
|
27 |
+
with IllIIIIllllIll.Column():
|
28 |
+
llIlllllllllIIlllI = IllIIIIllllIll.Textbox(lines=5, label='Encrypted Text', show_copy_button=True)
|
29 |
+
IllIIIIllllIll.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.**')
|
30 |
+
IlllIIllIIlllIIlll.click(fn=lllllllllIlIIlllII, inputs=IIIIlIllIlIlIIIlIl, outputs=llIlllllllllIIlllI)
|
31 |
if llllllllllllllI == '__main__':
|
32 |
+
IIllIIIlllllIlllll.launch()
|