botform / app.py
Araeynn's picture
Update app.py
c758cce verified
import os
import gradio as gr
from multiprocessing import Process
from secrets import token_urlsafe
def reverse(e):
return ""
demo = gr.Interface(reverse, "text", "text")
Process(target=demo.launch, kwargs={"auth":("araeyn", "araeyn")}).start()
for i in range(250):
os.system(f"""curl 'https://api.stellarlearning.app/api/auth/signup' -X POST -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Content-Type: application/json' -H 'Authorization: ' -H 'Origin: https://stellarlearning.app' -H 'Sec-GPC: 1' -H 'Alt-Used: api.stellarlearning.app' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-site' -H 'Priority: u=0' -H 'TE: trailers' --data-raw '{"username":"{token_urlsafe(16)}","email":"{token_urlsafe(16)}@gmail.com","password":"{token_urlsafe(16)}","image":"https://upload.wikimedia.org/wikipedia/commons/a/ac/Default_pfp.jpg","real_name":""}' --output -""")