cloud-sean commited on
Commit
bfc97c8
·
1 Parent(s): 678e471

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def upload_pdf(file, pdf_text, embeddings, vectorstore, azure_embeddings, qa, pr
35
  embeddings.append(emb)
36
  except Exception as e:
37
  print(e)
38
- time.sleep(5)
39
  response = openai.Embedding.create(
40
  input=text,
41
  engine="text-embedding-ada-002")
 
35
  embeddings.append(emb)
36
  except Exception as e:
37
  print(e)
38
+ time.sleep(8)
39
  response = openai.Embedding.create(
40
  input=text,
41
  engine="text-embedding-ada-002")