mohitrai76 commited on
Commit
3c1451c
·
verified ·
1 Parent(s): 06cd017

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ class AudioProcessor:
89
  prompt = f"""Translate the following text segments to {target_language} while maintaining EXACTLY the same format and order:
90
  {chr(10).join(text_segments)}
91
  IMPORTANT INSTRUCTIONS:
92
- If you find it unable to make the sentence grammatically correct predict the sentence then using previous sentences
93
  1. Maintain the EXACT same order and number of segments
94
  2. Each line must be a separate translation
95
  3. Use natural conversational {target_language}
 
89
  prompt = f"""Translate the following text segments to {target_language} while maintaining EXACTLY the same format and order:
90
  {chr(10).join(text_segments)}
91
  IMPORTANT INSTRUCTIONS:
92
+ If you find it unable to make the sentence grammatically correct predict the sentence then using previous sentences but make sure the sentence is grammatically correct thats the whole point
93
  1. Maintain the EXACT same order and number of segments
94
  2. Each line must be a separate translation
95
  3. Use natural conversational {target_language}