leadingbridge commited on
Commit
511c3e7
Β·
1 Parent(s): d51bcac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def openai_translation_ce(prompt):
60
  response = openai.ChatCompletion.create(
61
  model="gpt-3.5-turbo",
62
  messages=[
63
- {"role":"system","content":"You are a professional translator to translate the following article to English while maintaining the original tone, meaning, and context. Ensure that the translation is accurate and culturally appropriate for the target audience:"}
64
  {"role":"user","content":prompt}
65
  ],
66
  temperature=0.8,
 
60
  response = openai.ChatCompletion.create(
61
  model="gpt-3.5-turbo",
62
  messages=[
63
+ {"role":"system","content":"You are a professional translator to translate the following article to English while maintaining the original tone, meaning, and context. Ensure that the translation is accurate and culturally appropriate for the target audience:"},
64
  {"role":"user","content":prompt}
65
  ],
66
  temperature=0.8,