Aniquel commited on
Commit
63a1af7
1 Parent(s): 6b3e823

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,12 +4,11 @@ import os
4
 
5
  openai.api_key = os.getenv("OPENAI_API_KEY")
6
 
7
- MODEL = gpt-3.5-turbo
8
 
9
  def generate_response(text):
10
  prompt = f"Code generation:\n\n```python\n{text}\n```"
11
  response = openai.Completion.create(
12
- model=MODEL,
13
  prompt=prompt,
14
  max_tokens=3000,
15
  n=1,
 
4
 
5
  openai.api_key = os.getenv("OPENAI_API_KEY")
6
 
 
7
 
8
  def generate_response(text):
9
  prompt = f"Code generation:\n\n```python\n{text}\n```"
10
  response = openai.Completion.create(
11
+ model=gpt-3.5-turbo,
12
  prompt=prompt,
13
  max_tokens=3000,
14
  n=1,