Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def wolfram_alpha(query: str)-> str:
|
|
86 |
print("Error 1")
|
87 |
return f"Error: {query_result['error'].get('msg', 'Unable to fetch Wolfram response.')}"
|
88 |
|
89 |
-
if pods := query_result.get("pods") is None:
|
90 |
print("Error 2")
|
91 |
print(f"{pods}=")
|
92 |
return "Wolfram did not provide an answer."
|
|
|
86 |
print("Error 1")
|
87 |
return f"Error: {query_result['error'].get('msg', 'Unable to fetch Wolfram response.')}"
|
88 |
|
89 |
+
if (pods := query_result.get("pods")) is None:
|
90 |
print("Error 2")
|
91 |
print(f"{pods}=")
|
92 |
return "Wolfram did not provide an answer."
|