Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os
|
|
| 6 |
# IMPORTANT: Ensure MOONSHOT_API_KEY is in Hugging Face Settings > Secrets
|
| 7 |
client = OpenAI(
|
| 8 |
api_key=os.getenv("MOONSHOT_API_KEY"),
|
| 9 |
-
base_url="https://api.moonshot.
|
| 10 |
)
|
| 11 |
|
| 12 |
def predict(message, history):
|
|
|
|
| 6 |
# IMPORTANT: Ensure MOONSHOT_API_KEY is in Hugging Face Settings > Secrets
|
| 7 |
client = OpenAI(
|
| 8 |
api_key=os.getenv("MOONSHOT_API_KEY"),
|
| 9 |
+
base_url="https://api.moonshot.ai/v1",
|
| 10 |
)
|
| 11 |
|
| 12 |
def predict(message, history):
|