Update app.py
Browse files
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"
|