Coverage for apps/streamlecture/lecture_prompts.py: 100%
6 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-09 04:47 +0000
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-09 04:47 +0000
1"""Prompts for image and video generation in StreamLecture."""
3# Image
4IMG_PROMPT = """
5A photorealistic university classroom during a lecture.
6A professor stands at the front of the room behind a lectern, explaining concepts to an attentive audience of students
7seated in rows of desks.
8The classroom features a large whiteboard and a projection screen displaying lecture slides in the background.
9Natural, evenly distributed classroom lighting with no dramatic effects.
10The professor wears professional attire and uses natural hand gestures while speaking.
11Scene captured from a slightly elevated, front-facing perspective, showing the professor and several students in the foreground.
12Realistic academic environment with notebooks, laptops, and pens visible on desks.
13""".strip() # noqa: E501
15IMG_NEG_PROMPT = """camera move, fancy lights, cartoon, illustration, anime, 3D render, CGI, digital art, painting,
16smooth plastic skin, waxy texture, low detail, overexposed, blurred faces, uncanny valley"""
18# Video
19VIDEO_PROMPT = """
20Professor explaining.
21""".strip()
23VIDEO_NEG_PROMPT = """
24camera movement, shaky cam, zoom, pan, tilt, flashy lights, jitter, dolly shot, handheld,
25color shift, lighting flicker, exposure change, hue variation
26""".strip()
28# Transcript generation style for the lecture
29LECTURE_STYLE_PROMPT = "A clear and engaging academic lecture delivered by a single professor."
30LECTURE_CUSTOM_PROMPT = (
31 "Generate a lecture transcript for a single professor explaining "
32 "the content of this document. The professor should cover all key topics, "
33 "provide clear explanations, and use an educational tone."
34)