Spaces:
Sleeping
Sleeping
Raj Jayendrakumar Muchhala
commited on
Commit
·
f5ca772
1
Parent(s):
1f9a012
change default model to o-mini
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ st.markdown("Paste a transcript on the left and view the generated content plan
|
|
| 13 |
|
| 14 |
# Sidebar for OpenAI API Key and configuration
|
| 15 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
| 16 |
-
DEFAULT_MODEL = "gpt-4o-
|
| 17 |
DEFAULT_GOAL = (
|
| 18 |
"Extract multiple self-contained clips by identifying natural narrative peaks, emotional highlights, "
|
| 19 |
"and shareable moments (relatable struggles, surprising insights, or friendly debates) in their original "
|
|
@@ -23,7 +23,7 @@ DEFAULT_GOAL = (
|
|
| 23 |
st.sidebar.subheader("📤 Model for Clip Plan Generation")
|
| 24 |
clip_plan_model = st.sidebar.selectbox(
|
| 25 |
"Choose model for clip plan:",
|
| 26 |
-
[DEFAULT_MODEL, "gpt-4o
|
| 27 |
index=0
|
| 28 |
)
|
| 29 |
|
|
|
|
| 13 |
|
| 14 |
# Sidebar for OpenAI API Key and configuration
|
| 15 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
| 16 |
+
DEFAULT_MODEL = "gpt-4o-mini"
|
| 17 |
DEFAULT_GOAL = (
|
| 18 |
"Extract multiple self-contained clips by identifying natural narrative peaks, emotional highlights, "
|
| 19 |
"and shareable moments (relatable struggles, surprising insights, or friendly debates) in their original "
|
|
|
|
| 23 |
st.sidebar.subheader("📤 Model for Clip Plan Generation")
|
| 24 |
clip_plan_model = st.sidebar.selectbox(
|
| 25 |
"Choose model for clip plan:",
|
| 26 |
+
[DEFAULT_MODEL, "gpt-4o", "o3-mini"],
|
| 27 |
index=0
|
| 28 |
)
|
| 29 |
|