sreepathi-ravikumar commited on
Commit
d9b9c0e
·
verified ·
1 Parent(s): 0699a0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -35,7 +35,7 @@ Task and output format (strict):
35
  1) Title line: “### {TOPIC}”
36
  [strictly no line gap between title line and paragraph 1]
37
  2) Paragraph 1 (English only): 1–2 conversational sentences, 15–35 words, pure facts, no questions, no metaphors.
38
- 3) strictly exactly one blank line.
39
  4) Paragraph 2 (Tanglish): ONE continuous paragraph, no line breaks, no bullets, no emojis, no bold/italics. Length target: 110–160 words.
40
  - Total target length (title + para1 + para2): 160–220 words.
41
  - Do not add any extra sections or commentary.
@@ -70,7 +70,7 @@ Self‑check (do internally; rewrite once if violated):
70
  - Title starts with “###”.
71
  [strictly no line gap between title and paragraph 1]
72
  - Paragraph 1: 15–35 words, English only, no questions/metaphors.
73
- - strictly exactly one blank line after Paragraph 1.
74
  - Paragraph 2: single continuous block; A→B→C→D order; exactly two examples with correct starters; ends with ONE check‑in question.
75
  - No formal Tamil or textbook openers.
76
  - Sounds like a human WhatsApp voice note by a Chennai teacher.
@@ -79,11 +79,11 @@ Generate the output now for this topic:
79
  {TOPIC}
80
  output format :
81
  #topic
82
- para1 \n\n
83
  para2
84
  example :
85
  ### what is current?
86
- Current is the flow of electric charge, measured in amperes. It is the rate at which electric charge flows through a conductor, such as a wire, and is essential for powering devices.\n\n
87
  Current னு சொல்றது wire ல electron-ங்க move ஆகுற flow தான், அதாவது electric charge conductor ல பாய்றது. சரி, phone charging எடுத்துக்கலாம், battery ல இருந்து phone-க்கு current பாய்றுது, அப்போ power கிடைக்குது. அதனால, current இல்லனா phone charge ஆகாது, ஏன்னா electron flow இல்ல. உதாரணமா, நம்ம வீட்ல wire-ல current பாய்றுது, அதனால தான் light, fan எல்லாம் வேலை செய்யுது. யோசிச்சு பாருங்க, நம்ம ஊர்ல பஸ் ல people ஏறுறது, பஸ் move ஆகுற மாதிரி, wire ல electron-ங்க move ஆகுது. இவ்ளோதான், clear ஆ இருக்கா?
88
  """},{"role": "user", "content": data[0]}],
89
  "temperature": 0.8,
 
35
  1) Title line: “### {TOPIC}”
36
  [strictly no line gap between title line and paragraph 1]
37
  2) Paragraph 1 (English only): 1–2 conversational sentences, 15–35 words, pure facts, no questions, no metaphors.
38
+ 3) strictly exactly one blank line that mean (\\n\\n).
39
  4) Paragraph 2 (Tanglish): ONE continuous paragraph, no line breaks, no bullets, no emojis, no bold/italics. Length target: 110–160 words.
40
  - Total target length (title + para1 + para2): 160–220 words.
41
  - Do not add any extra sections or commentary.
 
70
  - Title starts with “###”.
71
  [strictly no line gap between title and paragraph 1]
72
  - Paragraph 1: 15–35 words, English only, no questions/metaphors.
73
+ - strictly exactly one blank line after Paragraph 1 that mean (\\n\\n).
74
  - Paragraph 2: single continuous block; A→B→C→D order; exactly two examples with correct starters; ends with ONE check‑in question.
75
  - No formal Tamil or textbook openers.
76
  - Sounds like a human WhatsApp voice note by a Chennai teacher.
 
79
  {TOPIC}
80
  output format :
81
  #topic
82
+ para1 \\n\\n
83
  para2
84
  example :
85
  ### what is current?
86
+ Current is the flow of electric charge, measured in amperes. It is the rate at which electric charge flows through a conductor, such as a wire, and is essential for powering devices.\\n\\n
87
  Current னு சொல்றது wire ல electron-ங்க move ஆகுற flow தான், அதாவது electric charge conductor ல பாய்றது. சரி, phone charging எடுத்துக்கலாம், battery ல இருந்து phone-க்கு current பாய்றுது, அப்போ power கிடைக்குது. அதனால, current இல்லனா phone charge ஆகாது, ஏன்னா electron flow இல்ல. உதாரணமா, நம்ம வீட்ல wire-ல current பாய்றுது, அதனால தான் light, fan எல்லாம் வேலை செய்யுது. யோசிச்சு பாருங்க, நம்ம ஊர்ல பஸ் ல people ஏறுறது, பஸ் move ஆகுற மாதிரி, wire ல electron-ங்க move ஆகுது. இவ்ளோதான், clear ஆ இருக்கா?
88
  """},{"role": "user", "content": data[0]}],
89
  "temperature": 0.8,