Spaces:
Sleeping
Sleeping
Raj Jayendrakumar Muchhala
commited on
Commit
·
3710d26
1
Parent(s):
60357fa
fix prompt goal
Browse files- app.py +1 -1
- prompts.py +1 -1
app.py
CHANGED
|
@@ -53,7 +53,7 @@ if generate_button:
|
|
| 53 |
with st.spinner("⏳ Generating content plan... Please wait."):
|
| 54 |
try:
|
| 55 |
# Define prompts
|
| 56 |
-
system_prompt = SYSTEM_MESSAGE.format(
|
| 57 |
user_prompt = USER_MESSAGE.format(source_content=transcript)
|
| 58 |
|
| 59 |
messages = [
|
|
|
|
| 53 |
with st.spinner("⏳ Generating content plan... Please wait."):
|
| 54 |
try:
|
| 55 |
# Define prompts
|
| 56 |
+
system_prompt = SYSTEM_MESSAGE.format(prompt_goal=GOAL)
|
| 57 |
user_prompt = USER_MESSAGE.format(source_content=transcript)
|
| 58 |
|
| 59 |
messages = [
|
prompts.py
CHANGED
|
@@ -5,7 +5,7 @@ webinars and event footage.
|
|
| 5 |
|
| 6 |
Your goal is to analyze the provided transcript and generate a **high-level plan** for multiple video clips
|
| 7 |
with the specific goal to :
|
| 8 |
-
1. **{
|
| 9 |
2. **Determine logical boundaries for where each topic starts and ends.**
|
| 10 |
3. **Generate Clip Concepts**
|
| 11 |
For each identified clip, provide the following details:
|
|
|
|
| 5 |
|
| 6 |
Your goal is to analyze the provided transcript and generate a **high-level plan** for multiple video clips
|
| 7 |
with the specific goal to :
|
| 8 |
+
1. **{prompt_goal}**
|
| 9 |
2. **Determine logical boundaries for where each topic starts and ends.**
|
| 10 |
3. **Generate Clip Concepts**
|
| 11 |
For each identified clip, provide the following details:
|