Spaces:
Build error
Build error
Update models/gpt_model.py
Browse files- models/gpt_model.py +2 -0
models/gpt_model.py
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
import openai
|
| 2 |
|
|
|
|
|
|
|
| 3 |
class ImageToText:
|
| 4 |
def __init__(self, api_key, gpt_version="gpt-3.5-turbo"):
|
| 5 |
self.template = self.initialize_template()
|
|
|
|
| 1 |
import openai
|
| 2 |
|
| 3 |
+
openai.api_base = "https://chatgpt.kkyoo.com"
|
| 4 |
+
|
| 5 |
class ImageToText:
|
| 6 |
def __init__(self, api_key, gpt_version="gpt-3.5-turbo"):
|
| 7 |
self.template = self.initialize_template()
|