Spaces:
Sleeping
Sleeping
Luke Stanley
commited on
Commit
•
ce5ad5f
1
Parent(s):
b51ce5c
Fix RUNPOD_ENDPOINT_ID environment variable
Browse files
utils.py
CHANGED
@@ -152,7 +152,7 @@ def llm_stream_sans_network(
|
|
152 |
|
153 |
# Function to call the RunPod API with a Pydantic model and movie name
|
154 |
def llm_stream_serverless(prompt,model):
|
155 |
-
RUNPOD_ENDPOINT_ID = env("
|
156 |
RUNPOD_API_KEY = env("RUNPOD_API_KEY")
|
157 |
url = f"https://api.runpod.ai/v2/{RUNPOD_ENDPOINT_ID}/runsync"
|
158 |
|
|
|
152 |
|
153 |
# Function to call the RunPod API with a Pydantic model and movie name
|
154 |
def llm_stream_serverless(prompt,model):
|
155 |
+
RUNPOD_ENDPOINT_ID = env("RUNPOD_ENDPOINT_ID")
|
156 |
RUNPOD_API_KEY = env("RUNPOD_API_KEY")
|
157 |
url = f"https://api.runpod.ai/v2/{RUNPOD_ENDPOINT_ID}/runsync"
|
158 |
|