thewellermangroup
commited on
Commit
·
6d73892
1
Parent(s):
988cddc
Update app.py
Browse files
app.py
CHANGED
@@ -12,21 +12,8 @@ def checkPassword(passwordInput, password):
|
|
12 |
app = flask.Flask(__name__)
|
13 |
flask_cors.CORS(app)
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
# creates a API endpoint for the password input
|
29 |
-
@app.route('/<passwordIn>', methods=['GET'])
|
30 |
def password(passwordIn):
|
31 |
PASSWORD = "1234"
|
32 |
securePassword = "$"+PASSWORD
|
@@ -34,7 +21,6 @@ def password(passwordIn):
|
|
34 |
data = {}
|
35 |
|
36 |
# Example data (could be fetched or processed dynamically)
|
37 |
-
|
38 |
|
39 |
if access:
|
40 |
data = {
|
@@ -63,13 +49,15 @@ def password(passwordIn):
|
|
63 |
'Listen to Wellerman': 'https://cdn.jsdelivr.net/gh/The-Wellerman-Group/v3@latest/assets/wellerman.mp3',
|
64 |
'Jacob Janzen\'s Website': 'https://jacobinathanialpeterson-thiswillgiveyoualotofmalware.static.hf.space',
|
65 |
'Make a Review': 'https://embed-v2.testimonial.to/c/the-wellerman-group-reviews/?theme=light',
|
66 |
-
'The Wellerman Group AI':
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
70 |
}
|
71 |
}
|
72 |
-
|
73 |
f = open('FUNCTIONS_BACKEND.txt', 'r', encoding='utf-8')
|
74 |
FCODE = f.read()
|
75 |
f.close()
|
@@ -80,7 +68,8 @@ def password(passwordIn):
|
|
80 |
'PASSWORDINPUT': passwordIn,
|
81 |
'ACCESS': access,
|
82 |
'RIGHTCLICK': 'Access Denied',
|
83 |
-
'FUNCTIONS': 'Access Denied'
|
|
|
84 |
}
|
85 |
|
86 |
return flask.jsonify(data)
|
|
|
12 |
app = flask.Flask(__name__)
|
13 |
flask_cors.CORS(app)
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
# creates a API endpoint for the password input
|
16 |
+
@app.route('/api/thewellermangroup/passwordinput/<passwordIn>', methods=['GET'])
|
17 |
def password(passwordIn):
|
18 |
PASSWORD = "1234"
|
19 |
securePassword = "$"+PASSWORD
|
|
|
21 |
data = {}
|
22 |
|
23 |
# Example data (could be fetched or processed dynamically)
|
|
|
24 |
|
25 |
if access:
|
26 |
data = {
|
|
|
49 |
'Listen to Wellerman': 'https://cdn.jsdelivr.net/gh/The-Wellerman-Group/v3@latest/assets/wellerman.mp3',
|
50 |
'Jacob Janzen\'s Website': 'https://jacobinathanialpeterson-thiswillgiveyoualotofmalware.static.hf.space',
|
51 |
'Make a Review': 'https://embed-v2.testimonial.to/c/the-wellerman-group-reviews/?theme=light',
|
52 |
+
'The Wellerman Group AI': {
|
53 |
+
'Chat GPT': 'https://thewellermangroup-the-wellerman-group-ai.hf.space/',
|
54 |
+
'Dalle-2': 'https://cyranicus-dalle-3-xl.hf.space',
|
55 |
+
'3D Thing': 'https://dylanebert-dreamgaussian-mini.hf.space',
|
56 |
+
'Make Your Own': 'https://veera-ruki-gpt-baker.hf.space'
|
57 |
+
},
|
58 |
+
'The Wellerman Group Chatbox': 'https://www3.cbox.ws/box/?boxid=3533881&boxtag=wktuUS'
|
59 |
}
|
60 |
}
|
|
|
61 |
f = open('FUNCTIONS_BACKEND.txt', 'r', encoding='utf-8')
|
62 |
FCODE = f.read()
|
63 |
f.close()
|
|
|
68 |
'PASSWORDINPUT': passwordIn,
|
69 |
'ACCESS': access,
|
70 |
'RIGHTCLICK': 'Access Denied',
|
71 |
+
'FUNCTIONS': 'Access Denied',
|
72 |
+
'LINKS': 'Access Denied'
|
73 |
}
|
74 |
|
75 |
return flask.jsonify(data)
|