Spanicin's picture
Upload 4 files
d3932f4 verified

A newer version of the Gradio SDK is available: 6.3.0

Upgrade
metadata
title: Candlestick Chart Diffusion
emoji: πŸ“ˆ
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit

Candlestick Chart Diffusion Generator

Generate candlestick chart images from text descriptions using a conditional diffusion model.

Features

  • 🎨 Generate candlestick charts from text prompts
  • πŸ‹οΈ Train your own model on custom data
  • πŸ“‚ Load pre-trained checkpoints

Example Prompts

  • "bullish trend with high volatility"
  • "bearish reversal pattern"
  • "double bottom formation"
  • "sideways market consolidation"
  • "head and shoulders pattern"

How to Use

  1. Generate Dataset: Use the data generator script to create training data
  2. Train Model: Upload dataset and train for 50+ epochs
  3. Generate Charts: Enter a text prompt and generate!

Model Architecture

  • U-Net with cross-attention for text conditioning
  • Diffusion with cosine noise schedule
  • Text Encoder with transformer layers