Spaces:
Build error
Build error
derek-thomas
commited on
Commit
·
f54d972
1
Parent(s):
79c858b
Updating Error message
Browse files- backend/query_llm.py +1 -1
backend/query_llm.py
CHANGED
@@ -21,7 +21,7 @@ def call_jais(payload):
|
|
21 |
except requests.exceptions.HTTPError as http_err:
|
22 |
raise gr.Error(f"An error occurred while processing the request. {http_err}")
|
23 |
except Exception as err:
|
24 |
-
raise gr.Error(f"An error occurred while processing the request. {err}")
|
25 |
|
26 |
|
27 |
def generate(prompt: str):
|
|
|
21 |
except requests.exceptions.HTTPError as http_err:
|
22 |
raise gr.Error(f"An error occurred while processing the request. {http_err}")
|
23 |
except Exception as err:
|
24 |
+
raise gr.Error(f"Check Inference Endpoint Status. An error occurred while processing the request. {err}")
|
25 |
|
26 |
|
27 |
def generate(prompt: str):
|