SFP commited on
Commit
9160ce9
1 Parent(s): 71f1200

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -3,6 +3,8 @@ from PIL import Image
3
  import requests
4
  import base64
5
  import io
 
 
6
  import openai
7
  openai.api_key = ""
8
  openai.api_base = "https://api.deepinfra.com/v1/openai"
 
3
  import requests
4
  import base64
5
  import io
6
+ import os
7
+ os.system("pip install openai")
8
  import openai
9
  openai.api_key = ""
10
  openai.api_base = "https://api.deepinfra.com/v1/openai"