txh17 commited on
Commit
908e629
·
verified ·
1 Parent(s): 1b8a3d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
6
  openai_client = OpenAI(api_key=OPENAI_API_KEY)
7
 
8
 
9
- def generate_response(prompt,temperature, top_p, max_tokens, repetition_penalty):
10
  try:
11
  response = openai_client.chat.completions.create(
12
  model="gpt-3.5-turbo", # or another model of your choice
 
6
  openai_client = OpenAI(api_key=OPENAI_API_KEY)
7
 
8
 
9
+ def generate_response(prompt,temperature, top_p, max_tokens, repetition_penalty):
10
  try:
11
  response = openai_client.chat.completions.create(
12
  model="gpt-3.5-turbo", # or another model of your choice