souljoy commited on
Commit
e5d3b96
·
1 Parent(s): 04cf10d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def sentiment_analysis_ep(content: Text = None):
45
 
46
 
47
  @app.post("/embeddings")
48
- def embeddings(content: Text = None):
49
  url = 'https://api.openai.com/v1/embeddings'
50
  data = {
51
  "model": "text-embedding-ada-002",
 
45
 
46
 
47
  @app.post("/embeddings")
48
+ def embeddings_ep(content: Text = None):
49
  url = 'https://api.openai.com/v1/embeddings'
50
  data = {
51
  "model": "text-embedding-ada-002",