Moonfanz commited on
Commit
f76cfa7
·
verified ·
1 Parent(s): 4210201

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -185,7 +185,7 @@ def chat_completions():
185
  ],
186
  'object': 'chat.completion.chunk'
187
  }
188
-
189
  yield f"data: {json.dumps(data)}\n\n"
190
  except Exception as e:
191
 
@@ -236,7 +236,7 @@ def chat_completions():
236
  'total_tokens': 0
237
  }
238
  }
239
- logger.info(f"Generation Success")
240
  return jsonify(response_data)
241
 
242
  except Exception as e:
 
185
  ],
186
  'object': 'chat.completion.chunk'
187
  }
188
+ logger.info(f"200!")
189
  yield f"data: {json.dumps(data)}\n\n"
190
  except Exception as e:
191
 
 
236
  'total_tokens': 0
237
  }
238
  }
239
+ logger.info(f"200!")
240
  return jsonify(response_data)
241
 
242
  except Exception as e: