Update app.py
Browse files61 unmodified lines626364656667686961 unmodified linestry:data = request.get_json()userprompt = data.get("duration", '').strip()prompt=extract_english_paragraphs(userprompt)lang=extract_native_text(userprompt)prompts=prompt.replace("**","")print(prompts)if prompts == '':61 unmodified lines6263646566676869707161 unmodified linestry:data = request.get_json()userprompt = data.get("duration", '').strip()prompt1=extract_english_paragraphs(userprompt)lang1=extract_native_text(userprompt)prompt="### current\nCurrent is the flow of electric charge. It moves through a conductor."lang="Current னு சொல்றது wire ல electron-ங்க move ஆகுற flow தான், சரி, அப்போ electron-ங்கள் நகர்ந்து இருக்காங்க, அப்புறம் அது current ஆகுது, அதனால நம்ம phone charge ஆகுறது இல்லயா, இப்போ யாருமே புரிஞ்சுக்கிட்டு இருப்பாங்க, உதாரணமா, நீங்க உங்க phone லயம் charge பண்ணுது இருக்கீங்க, யோசிச்சு பாருங்க, ஒரு bulb ல லைட் வருறது ஏன்னா current தான், இவ்ளோதான், clear ஆ இருக்கா?&&&Tamil"prompts=prompt.replace("**","")print(prompts)if prompts == '':
app.py+4-2