Skip to content

Commit

Permalink
add gpt-4o-mini
Browse files Browse the repository at this point in the history
  • Loading branch information
bigsk1 committed Jul 21, 2024
1 parent 840321a commit 571efa7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ MODEL_PROVIDER=ollama
# Character Configuration: SEE CHARACTERS FOLDER FOR ALL OF THEM
# Character to use - Options: samantha, wizard, pirate, valleygirl, newscaster1920s, alien_scientist, cyberpunk, detective,
# mouse, conandoyle, shakespeare, einstein, nerd, joker, terminator, insult, vampire, ghost, conspiracy, clumsyhero, dog .......
CHARACTER_NAME=insult
CHARACTER_NAME=samantha

# Text-to-Speech (TTS) Configuration:
# TTS Provider - Options: xtts (local uses the custom character .wav) or openai (uses OpenAI TTS voice) or elevenlabs
Expand All @@ -18,10 +18,10 @@ TTS_PROVIDER=elevenlabs
# Voice options: alloy, echo, fable, onyx, nova, shimmer
OPENAI_TTS_VOICE=onyx

# ElevenLabs Configuration:
# ElevenLabs Configuration: (replace with your actual API key)
ELEVENLABS_API_KEY=49b111111111
# Default voice ID
ELEVENLABS_TTS_VOICE=VgPpppppppp
ELEVENLABS_TTS_VOICE=pgCnBQgKPGkIP8fJuita

# XTTS Configuration:
# The voice speed for XTTS only (1.0 - 1.5, default is 1.1)
Expand All @@ -31,8 +31,8 @@ XTTS_SPEED=1.2
# OpenAI API Key for models and speech (replace with your actual API key)
OPENAI_API_KEY=sk-proj-1111111
# Models to use - OPTIONAL: For screen analysis, if MODEL_PROVIDER is ollama, llava will be used by default.
# Ensure you have llava downloaded with Ollama. If OpenAI is used, gpt-4o works well.
OPENAI_MODEL=gpt-4o
# Ensure you have llava downloaded with Ollama. If OpenAI is used, gpt-4o-mini works well.
OPENAI_MODEL=gpt-4o-mini

# Endpoints:
# Set these below and no need to change often
Expand Down
2 changes: 2 additions & 0 deletions app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ <h1>
<label for="openai-model-select">OpenAI Model:</label>
<select id="openai-model-select">
<option value="gpt-4o">GPT-4o</option>
<option value="gpt-4o-mini">GPT-4o-mini</option>
<option value="gpt-4">GPT-4</option>
<option value="gpt-4-turbo">GPT-4-Turbo</option>
<option value="gpt-3.5-turbo">GPT-3.5-Turbo</option>
</select>
</div>
<div class="setting-group">
Expand Down

0 comments on commit 571efa7

Please sign in to comment.