Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ async def run_samba_api_inference(query, system_prompt = None, ignore_context=Fa
|
|
95 |
post_response.raise_for_status()
|
96 |
except requests.exceptions.HTTPError as e:
|
97 |
if post_response.status_code in {401, 503}:
|
98 |
-
st.info(f"
|
99 |
return ""
|
100 |
if post_response.status_code in {429, 504}:
|
101 |
st.info("Rate limit hit because of all the pipelined queries, wait one second...")
|
|
|
95 |
post_response.raise_for_status()
|
96 |
except requests.exceptions.HTTPError as e:
|
97 |
if post_response.status_code in {401, 503}:
|
98 |
+
st.info(f"Invalid Key! Please make sure you have a valid SambaCloud key from https://cloud.sambanova.ai/.")
|
99 |
return ""
|
100 |
if post_response.status_code in {429, 504}:
|
101 |
st.info("Rate limit hit because of all the pipelined queries, wait one second...")
|