Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os # Import the os module
|
|
| 6 |
openai_api_key = os.getenv("OPENAI_API_KEY")
|
| 7 |
|
| 8 |
st.title("💬 PromptingAI.io")
|
| 9 |
-
st.caption("
|
| 10 |
|
| 11 |
# Select model using a dropdown
|
| 12 |
model_choice = st.selectbox('Choose a model:', ['gpt-4-turbo','gpt-3.5-turbo', 'gpt-3.5-turbo-0125','gpt-3.5-turbo-1106','gpt-3.5-turbo-0613','gpt-3.5-turbo-16k-0613','gpt-3.5-turbo-16k','gpt-4-turbo-2024-04-09','gpt-4-turbo-preview', 'gpt-4-0125-preview','gpt-4-1106-preview','gpt-4-0613'])
|
|
|
|
| 6 |
openai_api_key = os.getenv("OPENAI_API_KEY")
|
| 7 |
|
| 8 |
st.title("💬 PromptingAI.io")
|
| 9 |
+
st.caption("OpenAI's GPT models include various versions designed to meet specific needs. The GPT-4-Turbo is an enhancement of GPT-4, optimized for faster response and ideal for low-latency applications. The GPT-3.5-Turbo is an intermediate version, offering a good compromise between performance and cost for general-purpose applications. Variants such as GPT-3.5-Turbo-0125, GPT-3.5-Turbo-1106, and GPT-3.5-Turbo-0613 are configured for specific applications, seeking a balance between performance and power consumption. The GPT-3.5-Turbo-16k-0613 and GPT-3.5-Turbo-16k models feature extended memory capacity for context-sensitive tasks. The GPT-4-Turbo-2024-04-09 update brings recent improvements based on the latest research. Preview versions such as GPT-4-Turbo-Preview, GPT-4-0125-Preview, GPT-4-1106-Preview, and GPT-4-0613-Preview offer a glimpse of future advances, enabling users to test enhanced capabilities before their official launch. These models cover a wide range of natural language processing capabilities, suitable for applications from everyday tasks to complex enterprise solutions.")
|
| 10 |
|
| 11 |
# Select model using a dropdown
|
| 12 |
model_choice = st.selectbox('Choose a model:', ['gpt-4-turbo','gpt-3.5-turbo', 'gpt-3.5-turbo-0125','gpt-3.5-turbo-1106','gpt-3.5-turbo-0613','gpt-3.5-turbo-16k-0613','gpt-3.5-turbo-16k','gpt-4-turbo-2024-04-09','gpt-4-turbo-preview', 'gpt-4-0125-preview','gpt-4-1106-preview','gpt-4-0613'])
|