Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from openai import OpenAI
|
3 |
|
4 |
-
BASE_URL = "https://w0xtwbf2fdxe1q-8000.proxy.runpod.net/v1"
|
5 |
API_KEY="SOMEHOW"
|
6 |
|
7 |
# Create an OpenAI client to interact with the API server
|
|
|
1 |
import gradio as gr
|
2 |
from openai import OpenAI
|
3 |
|
4 |
+
BASE_URL = "https://w0xtwbf2fdxe1q-8000.proxy.runpod.net/v1/chat/completions"
|
5 |
API_KEY="SOMEHOW"
|
6 |
|
7 |
# Create an OpenAI client to interact with the API server
|