File size: 6,530 Bytes
5415489 |
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 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
<!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, maximum-scale=1, user-scalable=no" />
<meta name="full-screen" content="yes" />
<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="{{ url_for('bp.static', filename='css/style.css') }}" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="{{ url_for('bp.static', filename='img/apple-touch-icon.png') }}" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="{{ url_for('bp.static', filename='img/favicon-32x32.png') }}" />
<link
rel="icon"
type="image/png"
sizes="16x16"
href="{{ url_for('bp.static', filename='img/favicon-16x16.png') }}" />
<link rel="manifest" href="{{ url_for('bp.static', filename='img/site.webmanifest') }}" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/markdown-it-texmath/texmath.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/katex/dist/katex.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/markdown-it-texmath/css/texmath.min.css">
<title>FreeGPT</title>
</head>
<body data-urlprefix="{{ url_prefix}}">
<div class="main-container">
<div class="box sidebar">
<button class="button" id="sidebar-button" onclick="new_conversation()">
<i class="fa-regular fa-plus"></i>
<span>{{_('New Conversation')}}</span>
</button>
<div class="top">
<div class="spinner"></div>
</div>
<div class="sidebar-footer">
<!-- <button class="button" onclick="delete_conversations()">
<i class="fa-regular fa-trash"></i>
<span>{{_('Clear Conversations')}}</span>
</button> -->
<div class="settings-container">
<div class="field">
<span>{{_('Model')}}</span>
<select class="dropdown" name="model" id="model">
<option value="gpt-3.5-turbo" selected="">GPT-3.5-turbo</option>
<option value="gpt-4">GPT-4</option>
<option value="llama2-70b">LLaMA2-70b</option>
<option value="gemini-pro">Gemini-pro</option>
</select>
</div>
<div class="field">
<span>{{_('Provider')}}</span>
<select class="dropdown" name="provider" id="provider">
<option value="g4f.Provider.Auto" selected>Auto</option>
<option value="g4f.Provider.ChatgptLogin">ChatGPT Login</option>
<option value="g4f.Provider.Bing">Bing</option>
<option value="g4f.Provider.Llama2">Llama2</option>
<option value="g4f.Provider.Liaobots">Liaobots</option>
<option value="g4f.Provider.Phind">Phind</option>
<option value="g4f.Provider.You">You</option>
</select>
</div>
<div class="field">
<span>{{_('Jailbreak')}}</span>
<select class="dropdown" 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 class="field">
<span>{{_('Language')}}</span>
<select
class="dropdown"
id="language"
onchange="changeLanguage(this.value)"></select>
</div>
<div class="field checkbox">
<span>{{_('Web Access')}}</span>
<input type="checkbox" id="switch" />
<label for="switch"></label>
</div>
<div class="field checkbox">
<span>{{_('Dark Mode')}}</span>
<input type="checkbox" id="theme-toggler" />
<label for="theme-toggler"></label>
</div>
<div class="field checkbox fullscreen">
<span>{{_('Fullscreen Mode')}}</span>
<input type="checkbox" id="fullscreen-toggle" />
<label for="fullscreen-toggle"></label>
</div>
<!-- <div class="field checkbox">
<span>{{_('Highlight')}}</span>
<input type="checkbox" id="hl-toggle" />
<label for="hl-toggle"></label>
</div> -->
</div>
<a class="info" href="https://github.com/VadimBoev/freegpt-webui-v2" target="_blank">
<i class="fa-brands fa-github"></i>
<span class="conversation-title"> {{_('Version')}}: 0.8 </span>
</a>
</div>
</div>
<div class="conversation">
<div class="stop-generating stop-generating-hidden">
<button class="button" id="cancelButton">
<span>{{_('Stop Generating')}}</span>
</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>
</div>
<div class="menu-button">
<i class="fa-solid fa-bars"></i>
</div>
<!-- scripts -->
<script></script>
<script src="{{ url_for('bp.static', filename='js/icons.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/chat.js') }}" defer></script>
<script src="{{ url_for('bp.static', filename='js/markdown-it.min.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/highlight.min.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/highlightjs-copy.min.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/theme-toggler.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/sidebar-toggler.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/change-language.js') }}"></script>
<script src="{{ url_for('bp.static', filename='js/fullscreen-toggle.js') }}"></script>
</body>
</html>
|