Spaces:
Sleeping
Sleeping
moved prompts back to root
Browse files
{src/prompts β prompts}/system_instructions.md
RENAMED
|
File without changes
|
{src/prompts β prompts}/write_blog_post.md
RENAMED
|
File without changes
|
{src/prompts β prompts}/write_social_post.md
RENAMED
|
File without changes
|
{src/prompts β prompts}/write_video_chapters.md
RENAMED
|
File without changes
|
src/main.py
CHANGED
|
@@ -8,7 +8,7 @@ from agents import Agent, Runner
|
|
| 8 |
from openai.types.responses import ResponseTextDeltaEvent
|
| 9 |
import streamlit as st
|
| 10 |
|
| 11 |
-
from
|
| 12 |
|
| 13 |
async def run_streamlit_app():
|
| 14 |
st.set_page_config(
|
|
@@ -57,7 +57,7 @@ async def run_streamlit_app():
|
|
| 57 |
|
| 58 |
# Load system instructions
|
| 59 |
try:
|
| 60 |
-
with open("
|
| 61 |
system_instructions = f.read()
|
| 62 |
|
| 63 |
st.session_state.agent = Agent(
|
|
|
|
| 8 |
from openai.types.responses import ResponseTextDeltaEvent
|
| 9 |
import streamlit as st
|
| 10 |
|
| 11 |
+
from functions import fetch_video_transcript, fetch_intstructions
|
| 12 |
|
| 13 |
async def run_streamlit_app():
|
| 14 |
st.set_page_config(
|
|
|
|
| 57 |
|
| 58 |
# Load system instructions
|
| 59 |
try:
|
| 60 |
+
with open("prompts/system_instructions.md", "r") as f:
|
| 61 |
system_instructions = f.read()
|
| 62 |
|
| 63 |
st.session_state.agent = Agent(
|