TransNormal-2-Demo / README.md
Longxiang-ai's picture
Add TransNormal-2 Gradio demo
4a8f4e7 verified
|
Raw
History Blame Contribute Delete
1.18 kB

A newer version of the Gradio SDK is available: 6.20.0

Upgrade
metadata
title: TransNormal-2 Demo
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
python_version: 3.10.13
startup_duration_timeout: 1h
models:
  - Longxiang-ai/TransNormal-2
  - black-forest-labs/FLUX.2-klein-base-9B
tags:
  - computer-vision
  - monocular-normal-estimation
  - surface-normal-estimation
  - gradio
  - zerogpu
license: cc-by-nc-4.0

TransNormal-2 Demo

Interactive Gradio demo for TransNormal-2 surface normal estimation.

Upload an RGB image, choose Opaque or Transparent scene mode, and run the one-step FLUX.2 [klein] predictor followed by the Geometric Sharpening Module (GSM).

Runtime Notes

  • This Space is intended to run on Hugging Face ZeroGPU first.
  • Use ZeroGPU xlarge if available. The FLUX.2 [klein] 9B base model is large.
  • Set HF_TOKEN in Space secrets after accepting the FLUX.2 [klein] license.
  • First launch can take several minutes because the base model and TransNormal-2 weights need to be downloaded and cached.

Links