Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launchable fixes #1

Merged
merged 2 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
5 changes: 5 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/bin/bash

set -e

# Install uv if not already installed
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
Loading