diff --git a/example_usage.py b/example_usage.py index 48e3f58..60acaef 100644 --- a/example_usage.py +++ b/example_usage.py @@ -17,7 +17,7 @@ Jamie: And I'm Jamie. Today we're diving into the latest AEW Dynamite recap from Alex: First off, the article mentions Forbes' "Real‑Time" platform. That's basically a live‑sports aggregator, pulling in live scores, promos, and instant fan reactions via push notifications.""" # URL of your Flask server (adjust as needed) - url = "http://localhost:5010/tts" + url = "http://localhost:5012/tts" # Prepare the request payload payload = {"text": sample_text, "title": "aeW_dynamite_recap"} @@ -43,7 +43,7 @@ Alex: First off, the article mentions Forbes' "Real‑Time" platform. That's bas print(response.text) except requests.exceptions.ConnectionError: - print("✗ Cannot connect to server. Make sure Flask app is running on port 5010") + print("✗ Cannot connect to server. Make sure Flask app is running on port 5012") except Exception as e: print(f"✗ Unexpected error: {e}")