Spaces:
Running
Running
ayush-thakur02
commited on
Commit
•
2195b87
1
Parent(s):
eb7e291
Update app.py
Browse files
app.py
CHANGED
@@ -1,34 +1,31 @@
|
|
1 |
-
lllllllllllllll, llllllllllllllI, lllllllllllllIl, lllllllllllllII
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
import gradio as lIlllIlllIlIII, random as IIlIllIIIlIlII
|
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 |
-
|
32 |
-
|
33 |
-
if lllllllllllllll == '__main__':
|
34 |
-
lllllllIlIlIIIlIll.launch()
|
|
|
1 |
+
lllllllllllllll, llllllllllllllI, lllllllllllllIl, lllllllllllllII = list, __name__, enumerate, int
|
2 |
|
3 |
+
IIIIllIlllllIIlIlI = 'xSeQ v1'
|
4 |
+
import gradio as IllIIllIllIIIl, random as IllIlIIIlIIlll
|
|
|
5 |
|
6 |
+
def IIlIIlIlIIIIlllIIl(lIlIIllIIllllIlIIl):
|
7 |
+
IIllIlIlllIllIllll = lllllllllllllll(lIlIIllIIllllIlIIl)
|
8 |
+
lllIlllllIlIIlIIlI = IIllIlIlllIllIllll.count(' ')
|
9 |
+
lIlIIlIIllIlllllll = lllllllllllllII(lllIlllllIlIIlIIlI * 0.33)
|
10 |
+
lllIIlIllIlIlIlIlI = [IIllIlIlllIllIllll for (IIllIlIlllIllIllll, lllIlllllIlIIlIIlI) in lllllllllllllIl(IIllIlIlllIllIllll) if lllIlllllIlIIlIIlI == ' ']
|
11 |
+
IllllIlIIIlIIllIII = IllIlIIIlIIlll.sample(lllIIlIllIlIlIlIlI, lIlIIlIIllIlllllll)
|
12 |
+
for lIllIllllIlIIllIlI in IllllIlIIIlIIllIII:
|
13 |
+
IIllIlIlllIllIllll[lIllIllllIlIIllIlI] = '\u200e\xa0'
|
14 |
+
IIlIlIlllIllllIlIl = ''.join(IIllIlIlllIllIllll)
|
15 |
+
return IIlIlIlllIllllIlIl
|
16 |
+
with IllIIllIllIIIl.Blocks(title='No More AI Plagiarism!') as llllIIIIlllIIlIIII:
|
17 |
+
IllIIllIllIIIl.Markdown('# No More AI Plagiarism!')
|
18 |
+
IllIIllIllIIIl.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/)')
|
19 |
+
with IllIIllIllIIIl.Row():
|
20 |
+
with IllIIllIllIIIl.Column():
|
21 |
+
IllIIllIllIIIl.Dropdown(label='Select Encryptor:', choices=[IIIIllIlllllIIlIlI], value=IIIIllIlllllIIlIlI)
|
22 |
+
IlIIIIlIlllIIIllIl = IllIIllIllIIIl.Textbox(lines=5, placeholder='Enter your text here...', label='Input Text')
|
23 |
+
with IllIIllIllIIIl.Accordion(label='I auto accpet the Terms & Conditions', open=False):
|
24 |
+
IllIIllIllIIIl.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')
|
25 |
+
IllIIllIllllIIIlll = IllIIllIllIIIl.Button('Modify Text')
|
26 |
+
with IllIIllIllIIIl.Column():
|
27 |
+
IIlIlllllllllllIIl = IllIIllIllIIIl.Textbox(lines=5, label='Encrypted Text', show_copy_button=True)
|
28 |
+
IllIIllIllIIIl.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.**')
|
29 |
+
IllIIllIllllIIIlll.click(fn=IIlIIlIlIIIIlllIIl, inputs=IlIIIIlIlllIIIllIl, outputs=IIlIlllllllllllIIl)
|
30 |
+
if llllllllllllllI == '__main__':
|
31 |
+
llllIIIIlllIIlIIII.launch()
|
|
|
|