Update app.py
Browse files
app.py
CHANGED
@@ -47,15 +47,15 @@ VOICE_OPTIONS = {
|
|
47 |
}
|
48 |
|
49 |
GEMINI_PROMPT = """
|
50 |
-
You are an expert AI scriptwriter.
|
51 |
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
-
|
58 |
-
|
59 |
"""
|
60 |
|
61 |
def allowed_file(filename):
|
|
|
47 |
}
|
48 |
|
49 |
GEMINI_PROMPT = """
|
50 |
+
You are an expert AI scriptwriter. Your task is to watch the provided video and transcribe ALL spoken dialogue into a SINGLE, CONTINUOUS block of modern, colloquial Tamil.
|
51 |
|
52 |
+
**CRITICAL INSTRUCTIONS:**
|
53 |
+
1. **Single Script:** Combine all dialogue from all speakers into one continuous script.
|
54 |
+
2. **NO Timestamps or Speaker Labels:** Do NOT include any timestamps or speaker identifiers.
|
55 |
+
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.
|
56 |
|
57 |
+
**EXAMPLE OUTPUT:**
|
58 |
+
Say happily: வணக்கம்! [laugh] எப்படி இருக்கீங்க? Whisper mysteriously: அந்த ரகசியம் எனக்கு மட்டும் தான் தெரியும்.
|
59 |
"""
|
60 |
|
61 |
def allowed_file(filename):
|