File size: 3,909 Bytes
aae4949
 
dde49a0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82b391b
 
 
dde49a0
82b391b
dde49a0
 
 
 
 
91005d4
dde49a0
 
 
 
 
 
82b391b
dde49a0
 
 
 
 
 
 
82b391b
dde49a0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8a8fe1d
 
dde49a0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aae4949
1
2
3
4
5
6
7
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0" />
		<meta name="description" content="A conversational AI system that listens, learns, and challenges" />
		<meta property="og:title" content="ChatGPT" />
		<meta property="og:image" content="https://openai.com/content/images/2022/11/ChatGPT.jpg" />
		<meta
			property="og:description"
			content="A conversational AI system that listens, learns, and challenges" />
		<meta property="og:url" content="https://chat.acy.dev" />
		<link rel="stylesheet" href="/assets/css/style.css" />
		<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/apple-touch-icon.png" />
		<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon-32x32.png" />
		<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon-16x16.png" />
		<link rel="manifest" href="/assets/img/site.webmanifest" />
		<script src="/assets/js/icons.js"></script>
		<script src="/assets/js/chat.js" defer></script>
		<script src="https://cdn.jsdelivr.net/npm/markdown-it@latest/dist/markdown-it.min.js"></script>
		<link
			rel="stylesheet"
			href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/styles/base16/dracula.min.css" />
		<script>
			const user_image = `<img src="/assets/img/user.png" alt="User Avatar">`;
			const gpt_image = `<img src="/assets/img/gpt.png" alt="GPT Avatar">`;
		</script>
		<script src="/assets/js/highlight.min.js"></script>
		<script src="/assets/js/highlightjs-copy.min.js"></script>
		<script>
			window.conversation_id = `{{chat_id}}`;
		</script>
		<title>ChatGPT</title>
	</head>

	<body>
		<div class="background-gradient"></div>
		<div class="main-container">
			<div class="box sidebar">
				<div class="top">
					<button class="new-conversation" onclick="new_conversation()">
						<i class="fa-regular fa-plus"></i>
						<span>New Conversation</span>
					</button>
					<div class="spinner"></div>
				</div>
				<div class="sidebar-footer">
					<button onclick="delete_conversations()">
						<i class="fa-regular fa-trash"></i>
						<span>Clear Conversations</span>
					</button>
					<a class="info" href="https://github.com/ramonvc/gptfree-jailbreak-webui" target="_blank">
						<i class="fa-brands fa-github"></i>
						<span class="conversation-title">
							@ramonvc<br />
							Version: 0.0.2-Alpha<br />
						</span>
					</a>
				</div>
			</div>
			<div class="conversation">
				<div class="stop-generating stop-generating-hidden">
					<button id="cancelButton">
						<span>Stop Generating</span>
						<i class="fa-regular fa-stop"></i>
					</button>
				</div>
				<div class="box" id="messages"></div>
				<div class="user-input">
					<div class="box input-box">
						<textarea
							id="message-input"
							placeholder="Ask a question"
							cols="30"
							rows="10"
							style="white-space: pre-wrap"></textarea>
						<div id="send-button">
							<i class="fa-regular fa-paper-plane-top"></i>
						</div>
					</div>
				</div>
				<div class="buttons">
					<div class="field">
						<input type="checkbox" id="switch" />
						<label for="switch"></label>
						<span class="about">Web Access</span>
					</div>
					<div class="field">
						<select name="model" id="model">
							<option value="text-gpt-0035">GPT-3.5</option>
							<option value="text-gpt-0040" selected>GPT-4</option>
						</select>
					</div>
					<div class="field">
						<select name="jailbreak" id="jailbreak">
							<option value="default" selected>Default</option>
							<option value="gpt-dan-11.0">DAN</option>
							<option value="gpt-evil">Evil</option>
						</select>
					</div>
				</div>
			</div>
		</div>
		<div class="mobile-sidebar">
			<i class="fa-solid fa-bars"></i>
		</div>
	</body>
</html>