leadingbridge commited on
Commit
3f5673b
1 Parent(s): be2d5d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def translate_to_chinese(text_to_translate):
66
  def translate_to_english(text_to_translate):
67
  response = openai.Completion.create(
68
  model="text-davinci-003",
69
- prompt=f"Translate this short sentence into English:\n\n{text_to_translate}\n\n1.",
70
  temperature=0.3,
71
  max_tokens=1024,
72
  top_p=1.0,
 
66
  def translate_to_english(text_to_translate):
67
  response = openai.Completion.create(
68
  model="text-davinci-003",
69
+ prompt=f"Translate this short Chinese sentence into English:\n\n{text_to_translate}\n\n1.",
70
  temperature=0.3,
71
  max_tokens=1024,
72
  top_p=1.0,