keep updated

This commit is contained in:
xiaolai
2024-03-26 16:14:39 +08:00
parent 3de55b81f1
commit 524afa3ce8
14 changed files with 34 additions and 13 deletions

View File

@@ -197,7 +197,7 @@
},
{
"cell_type": "code",
"execution_count": 64,
"execution_count": 1,
"id": "cecefa85-b37d-457e-9e99-e582dabdfb9f",
"metadata": {},
"outputs": [
@@ -205,6 +205,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"pygame 2.5.2 (SDL 2.28.3, Python 3.12.1)\n",
"Hello from the pygame community. https://www.pygame.org/contribute.html\n",
"Files created!\n"
]
}
@@ -216,7 +218,7 @@
"import edge_tts\n",
"import pygame\n",
"\n",
"TEXT = \"hotdog,network\"\n",
"TEXT = \"city\"\n",
"Wordlist = TEXT.split(\",\")\n",
"\n",
"for w in Wordlist:\n",

View File

@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 21,
"id": "e6525deb-267c-475f-a73a-7939c5bdca86",
"metadata": {},
"outputs": [
@@ -10,7 +10,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/var/folders/k_/t1vf2gd95jbc1j3k49xxdfy80000gn/T/ipykernel_17239/1823463615.py:29: DeprecationWarning: Due to a bug, this method doesn't actually stream the response content, `.with_streaming_response.method()` should be used instead\n",
"/var/folders/k_/t1vf2gd95jbc1j3k49xxdfy80000gn/T/ipykernel_17239/3460699688.py:29: DeprecationWarning: Due to a bug, this method doesn't actually stream the response content, `.with_streaming_response.method()` should be used instead\n",
" rspd_audio.stream_to_file(speech_file_path)\n"
]
}
@@ -29,7 +29,7 @@
"\n",
"\n",
"text = \"\"\"\n",
"People's opinions vary from individual to individual.\n",
"Some people do not believe in destiny.\n",
"\"\"\"\n",
"# Create audios for each versions (three was set as default previously.)\n",
"\n",