CobaltZvc commited on
Commit
78a1477
1 Parent(s): 5cf5dd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def gpt3(texts):
42
  # openai.api_key = os.environ["Secret"]
43
  openai.api_key = st.secrets['OPENAI_KEY'] #'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'#'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' #'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'
44
  response = openai.Completion.create(
45
- engine="gpt-3.5-turbo",
46
  prompt= texts,
47
  temperature=temp,
48
  max_tokens=750,
 
42
  # openai.api_key = os.environ["Secret"]
43
  openai.api_key = st.secrets['OPENAI_KEY'] #'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'#'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' #'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'
44
  response = openai.Completion.create(
45
+ engine="text-davinci-003",
46
  prompt= texts,
47
  temperature=temp,
48
  max_tokens=750,