Skip to content

Commit

Permalink
fixes to launchable
Browse files Browse the repository at this point in the history
  • Loading branch information
tmonty12 committed Jan 2, 2025
1 parent 9f1f71b commit 30657fc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
29 changes: 14 additions & 15 deletions launchable/PDFtoPodcast.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@
"source": [
"%%bash\n",
"\n",
"source $HOME/.local/bin/env\n",
"cd pdf-to-podcast/\n",
"\n",
"make uv"
Expand Down Expand Up @@ -319,16 +318,16 @@
"This command should produce similiar output in the following format:\n",
"\n",
"```\n",
"CONTAINER ID NAMES STATUS\n",
"12050b799fd2 ai-research-assistant-pdf-api-1 Up About a minute\n",
"14315da77827 ai-research-assistant-api-service-1 Up About a minute\n",
"aa8489e0b3b9 ai-research-assistant-celery-worker-1 Up About a minute\n",
"09dcb0857515 ai-research-assistant-agent-service-1 Up About a minute\n",
"58c46d612fbf ai-research-assistant-tts-service-1 Up About a minute\n",
"500a43363550 ai-research-assistant-pdf-service-1 Up About a minute\n",
"43bc1772a0aa ai-research-assistant-minio-1 Up About a minute (healthy)\n",
"2b6bae7f4c1d ai-research-assistant-jaeger-1 Up About a minute (healthy)\n",
"60e4d815d2be ai-research-assistant-redis-1 Up About a minute\n",
"CONTAINER ID NAMES STATUS\n",
"ae5db10fcf7c pdf-to-podcast-pdf-api-1 Up About a minute\n",
"fbc8d417e85c pdf-to-podcast-api-service-1 Up About a minute\n",
"b34b5d64ad4c pdf-to-podcast-celery-worker-1 Up About a minute\n",
"6050545be1e4 pdf-to-podcast-pdf-service-1 Up About a minute\n",
"c8cc9253e8a9 pdf-to-podcast-tts-service-1 Up About a minute\n",
"5d29deb76eda pdf-to-podcast-agent-service-1 Up About a minute\n",
"1dfc6c61cec9 pdf-to-podcast-minio-1 Up About a minute (healthy)\n",
"aa967d41a513 pdf-to-podcast-redis-1 Up About a minute\n",
"eb881c33cc64 pdf-to-podcast-jaeger-1 Up About a minute (healthy)\n",
"```"
]
},
Expand Down Expand Up @@ -522,17 +521,17 @@
" print(\"Submitting podcast generation request...\")\n",
" job_id = generate_podcast(\n",
" target_pdf_paths=[\n",
" \"ai-research-assistant/samples/singularity.pdf\",\n",
" \"pdf-to-podcast/samples/investorpres-main.pdf\",\n",
" ],\n",
" context_pdf_paths=[\n",
" \"ai-research-assistant/samples/memserve.pdf\",\n",
" \"ai-research-assistant/samples/mooncake.pdf\"\n",
" \"pdf-to-podcast/samples/bofa-context.pdf\",\n",
" \"pdf-to-podcast/samples/citi-context.pdf\"\n",
" ],\n",
" name=\"NVIDIA Earnings Analysis\",\n",
" duration=15,\n",
" speaker_1_name=\"Alex\",\n",
" is_monologue=True,\n",
" guide=\"Focus on how the future of large scale inference will evolve\"\n",
" guide=\"Focus on NVIDIA's earnings and the key points driving it's growth\"\n",
" )\n",
" print(f\"Job ID: {job_id}\")\n",
" wait_for_completion(job_id)\n",
Expand Down
3 changes: 3 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ if ! command -v uv &> /dev/null; then
curl -LsSf https://astral.sh/uv/install.sh | sh
fi

# Add uv to path
source $HOME/.local/bin/env

# Create a new virtual environment
uv venv

Expand Down

0 comments on commit 30657fc

Please sign in to comment.