Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -120,8 +120,8 @@ def search_and_graph_cricket_rankings(teams: list[str], years: int = 5) -> str:
|
|
| 120 |
encoded_chart = urllib.parse.quote(json.dumps(chart_config))
|
| 121 |
url = f"https://quickchart.io/chart?c={encoded_chart}"
|
| 122 |
|
| 123 |
-
|
| 124 |
-
|
| 125 |
|
| 126 |
|
| 127 |
|
|
|
|
| 120 |
encoded_chart = urllib.parse.quote(json.dumps(chart_config))
|
| 121 |
url = f"https://quickchart.io/chart?c={encoded_chart}"
|
| 122 |
|
| 123 |
+
# Return only the URL
|
| 124 |
+
return url
|
| 125 |
|
| 126 |
|
| 127 |
|