Update app.py
Browse files
app.py
CHANGED
@@ -56,9 +56,15 @@ VOICE_TYPES = {
|
|
56 |
|
57 |
GEMINI_PROMPTS = {
|
58 |
"api": """
|
59 |
-
You are an
|
60 |
-
|
61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
""",
|
63 |
"gtts": """
|
64 |
You are an expert AI scriptwriter. Transcribe ALL spoken dialogue into a SINGLE,
|
|
|
56 |
|
57 |
GEMINI_PROMPTS = {
|
58 |
"api": """
|
59 |
+
You are an AI scriptwriter. Your task is to watch the provided video and transcribe ALL spoken dialogue into a SINGLE, CONTINUOUS block of modern, colloquial Tamil.
|
60 |
+
|
61 |
+
**CRITICAL INSTRUCTIONS:**
|
62 |
+
1. **Single Script:** Combine all dialogue into one continuous script.
|
63 |
+
2. **NO Timestamps or Speaker Labels:** Do NOT include any timestamps or speaker identifiers.
|
64 |
+
3. **Incorporate Performance:** Add English style prompts (e.g., `Say happily:`, `Whisper mysteriously:`) and performance tags (e.g., `[laugh]`, `[sigh]`) directly into the text for an expressive narration.
|
65 |
+
|
66 |
+
**EXAMPLE OUTPUT:**
|
67 |
+
Say happily: வணக்கம்! [laugh] எப்படி இருக்கீங்க? Whisper mysteriously: அந்த ரகசியம் எனக்கு மட்டும் தான் தெரியும்
|
68 |
""",
|
69 |
"gtts": """
|
70 |
You are an expert AI scriptwriter. Transcribe ALL spoken dialogue into a SINGLE,
|