--- title: DeepDream Studio emoji: 🌌 colorFrom: blue colorTo: red sdk: gradio sdk_version: "5.31.0" app_file: app.py pinned: false --- # DeepDream Studio An interactive DeepDream web app: upload a photo and watch a MobileNetV2 image classifier "dream" its learned visual features into it, via iterative gradient ascent across multiple image scales ("octaves"). Adapted from Chapter 12 of François Chollet's *Deep Learning with Python* (2nd edition), swapping the book's InceptionV3 backbone for the much lighter MobileNetV2 so it runs comfortably on Hugging Face Spaces' free CPU tier. ## Features - Upload your own photo or start from a curated example - One-click style presets (Subtle / Classic / Psychedelic) - An overall intensity slider, plus an advanced panel with per-layer feature-emphasis sliders and iteration/octave controls - Live progress feedback during generation - Side-by-side original vs. dreamed comparison, with a downloadable result ## Local development ```bash pip install -r requirements.txt python app.py ```