Spaces:
Runtime error
Runtime error
fix client bug
Browse files
app.py
CHANGED
@@ -19,10 +19,10 @@ from openai import OpenAI
|
|
19 |
import base64
|
20 |
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
|
27 |
|
28 |
@dataclass
|
|
|
19 |
import base64
|
20 |
|
21 |
|
22 |
+
client = OpenAI(
|
23 |
+
base_url=os.environ.get("SERVER_URL"),
|
24 |
+
api_key=os.environ.get("HF_TOKEN"),
|
25 |
+
)
|
26 |
|
27 |
|
28 |
@dataclass
|