Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def wolfram_alpha(query: str)-> str:
|
|
80 |
response.raise_for_status() # Raise an exception for HTTP errors
|
81 |
|
82 |
query_result = response.json().get("queryresult")
|
83 |
-
print(f"{query_result=")
|
84 |
|
85 |
if query_result is None or query_result.get("error", False): # Check if there's an error in the response
|
86 |
print("Error 1")
|
|
|
80 |
response.raise_for_status() # Raise an exception for HTTP errors
|
81 |
|
82 |
query_result = response.json().get("queryresult")
|
83 |
+
print(f"{query_result=}")
|
84 |
|
85 |
if query_result is None or query_result.get("error", False): # Check if there's an error in the response
|
86 |
print("Error 1")
|