thewellermangroup commited on
Commit
7f1d006
·
1 Parent(s): 17a4bcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -32
app.py CHANGED
@@ -27,36 +27,6 @@ def password(passwordIn):
27
  'PASSWORD': securePassword,
28
  'PASSWORDINPUT': passwordIn,
29
  'ACCESS': access,
30
- 'RIGHTCLICK':
31
- '''
32
- var contextMenu = document.querySelector(".wrapperfortheclick");
33
- window.addEventListener("contextmenu", e => {
34
- e.preventDefault();
35
- let x = e.offsetX, y = e.offsetY,
36
- winWidth = document.body.scrollWidth,
37
- winHeight = document.body.scrollHeight,
38
- cmWidth = contextMenu.offsetWidth,
39
- cmHeight = contextMenu.offsetHeight;
40
- x = x > winWidth - cmWidth ? winWidth - cmWidth : x;
41
- y = y > winHeight - cmHeight ? winHeight - cmHeight : y;
42
- contextMenu.style.left = `${x}px`;
43
- contextMenu.style.top = `${y}px`;
44
- contextMenu.style.visibility = "visible";
45
- });
46
- document.addEventListener("click", () => contextMenu.style.visibility = "hidden");
47
- ''',
48
- 'LINKS': {
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/FUNCTIONS_BACKEND.txt', 'r', encoding='utf-8')
62
  FUNCTIONS_BACKEND = f.read()
@@ -64,8 +34,12 @@ def password(passwordIn):
64
  f = open('/LINKS/LINKS.txt', 'r', encoding='utf-8')
65
  LINKS = f.read()
66
  f.close()
67
- exec("data.update({'FUNCTIONS': {"+FUNCTIONS_BACKEND+"}})")
68
- exec("data.update({'LINKS': {"+LINKS+"}})")
 
 
 
 
69
  else:
70
  data = {
71
  'PASSWORD': 'Access Denied',
 
27
  'PASSWORD': securePassword,
28
  'PASSWORDINPUT': passwordIn,
29
  'ACCESS': access,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  }
31
  f = open('/FUNCTIONS/FUNCTIONS_BACKEND.txt', 'r', encoding='utf-8')
32
  FUNCTIONS_BACKEND = f.read()
 
34
  f = open('/LINKS/LINKS.txt', 'r', encoding='utf-8')
35
  LINKS = f.read()
36
  f.close()
37
+ f = open('/RIGHT_CLICK/RIGHT_CLICK.txt', 'r', encoding='utf-8')
38
+ RIGHT_CLICK = f.read()
39
+ f.close()
40
+ exec("data.update({'CODE': {'FUNCTIONS': {"+FUNCTIONS_BACKEND+"}})")
41
+ exec("data.update({'CODE': {'LINKS': {"+LINKS+"}}})")
42
+ exec("data.update({'CODE': {'RIGHT_CLICK': "+RIGHT_CLICK+"}})")
43
  else:
44
  data = {
45
  'PASSWORD': 'Access Denied',