Commit Graph

15 Commits

Author SHA1 Message Date
503b3ce473 Fix model registration + add long-form generation support
- Fix critical bug: register_all_adapters() now called in main.py
- Add generate_long() method to MusicGen adapter for continuation-based
  extended tracks (up to 5 minutes)
- Add long-form checkbox in UI that unlocks duration slider to 300s
- Update GenerationService to route to generate_long when duration > 30s
- Update BatchProcessor to support long_form parameter

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 13:22:06 +01:00
e53314023c Fix GPUMemoryManager method call - use get_status()
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:42:29 +01:00
dcf369db13 Fix BatchProcessor attribute access in queue status
Use private _queue and _jobs attributes with hasattr checks.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:40:44 +01:00
c28397f176 Remove height params from Gradio 6 components
Dataframe, Gallery, Image no longer accept height parameter.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:38:18 +01:00
df49ee777e Fix ProjectService param and Gradio 6 Audio component
- Fix ProjectService: db -> database
- Remove show_download_button from gr.Audio (Gradio 6.x)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:36:42 +01:00
1779d3898d Fix service init params and simplify VRAM monitor
- Fix GenerationService params: registry, database
- Simplify VRAM display to basic Markdown for now

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:35:15 +01:00
5080eeab08 Update to Gradio 6.x API
- Move css from gr.Blocks() to launch()
- Replace show_api with footer_links parameter
- Remove theme from Blocks (moved to launch in Gradio 6)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:32:36 +01:00
1b1d836b6c Simplify gr.Blocks for older Gradio compatibility
Remove theme and title params that aren't supported in older versions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:30:10 +01:00
cdb420d0f7 Fix ModelRegistry params and Gradio Blocks compatibility
- Fix ModelRegistry init params: config_path, max_cached_models, idle_timeout_minutes
- Make gr.Blocks creation compatible with different Gradio versions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:28:41 +01:00
626fb8d02f Fix GPUMemoryManager param and simplify theme
- Fix comfyui_reserve_bytes -> comfyui_reserve_gb in main.py
- Simplify Gradio theme to avoid invalid parameters

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:25:34 +01:00
64a94e7ab7 Fix Database.initialize and remove invalid theme param
- Add initialize() method as alias for connect()
- Remove invalid tab_nav_background_fill theme parameter

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:24:08 +01:00
fd5c8acea2 Add missing settings attributes
Added: api_enabled, api_key_required, api_rate_limit, default_format,
sample_rate, normalize_audio, debug, max_loaded_models

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:22:11 +01:00
b6eb73dea4 Fix async generator syntax errors in tab files
Changed return statements to yield + return in async generator
functions. Python doesn't allow 'return' with a value in generators.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:16:39 +01:00
1513f1fefa Fix import errors and NumPy compatibility
- Rename create_theme() to create_audiocraft_theme() to match imports
- Add missing get_custom_css() function
- Pin numpy<2.0.0 for PyTorch compatibility
- Replace deprecated pynvml with nvidia-ml-py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:11:18 +01:00
ffbf02b12c Initial implementation of AudioCraft Studio
Complete web interface for Meta's AudioCraft AI audio generation:

- Gradio UI with tabs for all 5 model families (MusicGen, AudioGen,
  MAGNeT, MusicGen Style, JASCO)
- REST API with FastAPI, OpenAPI docs, and API key auth
- VRAM management with ComfyUI coexistence support
- SQLite database for project/generation history
- Batch processing queue for async generation
- Docker deployment optimized for RunPod with RTX 4090

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 19:34:27 +01:00