souljoy commited on
Commit
b35f37e
1 Parent(s): e7cde1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ def chat_gpt_ep(content: Text = None):
114
  url = 'https://api.openai.com/v1/chat/completions'
115
  obj = json.loads(content.content)
116
  data = {
117
- "model": obj['model']
118
  "messages": obj['messages']
119
  }
120
  print("data = \n", data)
 
114
  url = 'https://api.openai.com/v1/chat/completions'
115
  obj = json.loads(content.content)
116
  data = {
117
+ "model": obj['model'],
118
  "messages": obj['messages']
119
  }
120
  print("data = \n", data)