How cilusqyoi/youtube-script-generator works
This small Streamlit app takes a topic, tone, and duration, calls the script-generation function, and displays the returned script. The generator formats those inputs into a prompt requesting a hook, introduction, main content, and conclusion with a CTA, then requests content from Gemini. The graph reflects the sampled app and generator code; README capabilities are included where documented, but no separate implementation for them is inferred.
Main entry points: app.py Streamlit interface · script_generator.py Prompt and generation
Components 4
User interface
- Streamlit interface
app.py
Script generation
- Prompt and generation
script_generator.py
AI service
- Gemini API
Other components
- User
Connections 6
- User → Streamlit interface: enters inputs
app.py - Streamlit interface → Prompt and generation: requests script
app.py - Prompt and generation → Gemini API: sends prompt
script_generator.py - Gemini API → Prompt and generation: returns content
script_generator.py - Prompt and generation → Streamlit interface: returns script
app.py - Streamlit interface → User: displays script
app.py