Merge pull request 'fix: close #6 - fix example_usage.py port to match app.py default (5012)' (#31) from fix/issue-example-port into main
Reviewed-on: https://git.home.ms/jarianc/kokorotts-server/pulls/31
This commit is contained in:
commit
279520bffb
@ -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}")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user