Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
appatalks authored Jan 5, 2025
1 parent 3307e09 commit d9b5a3f
Showing 1 changed file with 34 additions and 30 deletions.
64 changes: 34 additions & 30 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
auth();
// Adjust for Mobile User Agents
mobile_txtout();
mobile_txtmsd();
//mobile_txtmsd();

function toggleSettings() {
const settingsMenu = document.getElementById("settingsMenu");
Expand Down Expand Up @@ -67,37 +67,11 @@
id="speakSend" title="Speak This">
</button>
</div>
<p id="result"></p>
</div>
<!--
<audio id="audioPlayback" class="audio" controls aria-label="Audio playback">
<source id="audioSource" type="audio/mp3" src="">
</audio>
-->
<!-- <p></p> -->

<div class="chat-input-container">
<div id="txtMsg" contenteditable="true" rows="2" placeholder="Input Text" aria-label="Input text"></div>
<label for="imgInput">&#128206;</label>
<input type="file" id="imgInput" aria-label="Upload image" style="display:none;">

<button type="button" onclick="sendData()" id="btnSend" aria-label="Send data">Send</button>
<button onclick="startSpeechRecognition()" id="micButton" class="mic-button" aria-label="Start speech recognition"></button>
<script>
insertImage();
</script>
<div>
</div>

</div>

<script>
// Capture CTRL + Enter Key
shiftBreak();
</script>

<!-- Settings Menu (initially hidden) -->
<div id="settingsMenu">

<div class="settingsMenu" id="settingsMenu">
<h3>Settings</h3>
<label for="selEngine">Engine:</label>
<select id="selEngine" onchange="ChangeLang(this)">
Expand Down Expand Up @@ -130,7 +104,7 @@ <h3>Settings</h3>
<option value="o1-mini" title="o1-mini">o1-mini</option>
<option value="dall-e-3" title="Image Generation">dall-e-3</option>
<option value="gemini" title="Google Gemini">gemini</option>
<option value="lm-studio" title="lm-studio">lm-studio</option>
<option value="lm-studio" title="lm-studio">lm-studio</option>
<option value="gpt-4o-mini" title="gpt-4o-mini">gpt-4o-mini</option>
</select>
<br/><br/>
Expand All @@ -144,6 +118,36 @@ <h3>Settings</h3>
</select>
</div>


<p id="result"></p>
</div>

<audio id="audioPlayback" class="audio" controls aria-label="Audio playback">
<source id="audioSource" type="audio/mp3" src="">
</audio>

<!-- <p></p> -->

<div class="chat-input-container">
<div id="txtMsg" contenteditable="true" rows="2" placeholder="Input Text" aria-label="Input text"></div>
<label for="imgInput">&#128206;</label>
<input type="file" id="imgInput" aria-label="Upload image" style="display:none;">

<button type="button" onclick="sendData()" id="btnSend" aria-label="Send data">Send</button>
<button onclick="startSpeechRecognition()" id="micButton" class="mic-button" aria-label="Start speech recognition"></button>
<script>
insertImage();
</script>
<div>
</div>

</div>

<script>
// Capture CTRL + Enter Key
shiftBreak();
</script>

<footer>
<img id="eEgg" src="core/img/eEgg.gif" alt="Image" style="display:none;">

Expand Down

0 comments on commit d9b5a3f

Please sign in to comment.