Spaces:
Sleeping
Sleeping
hi
Browse files
app.py
CHANGED
|
@@ -66,10 +66,12 @@ def set_view_mode(mode: str):
|
|
| 66 |
|
| 67 |
with gr.Blocks() as demo:
|
| 68 |
gr.Markdown(
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
|
|
|
|
|
|
| 73 |
)
|
| 74 |
|
| 75 |
with gr.Row():
|
|
|
|
| 66 |
|
| 67 |
with gr.Blocks() as demo:
|
| 68 |
gr.Markdown(
|
| 69 |
+
""" # 🖼️ ➜ 🎬 Generate Focal Stacks from a Single Image.
|
| 70 |
+
This demo accompanies the paper **“Learning to Refocus with Video Diffusion MOdels”** by Tedla *et al.*, SIGGRAPH Asia 2025.
|
| 71 |
+
- 🌐 **Project page:** <https://learn2refocus.github.io/>
|
| 72 |
+
- 💻 **Code:** <https://github.com/tedlasai/learn2refocus/>
|
| 73 |
+
Upload an image and **specify the input focal position** (these values correspond to iPhone API positions, but approximately linear in diopters (inverse meters): 0 - 5cm, 8 - Infinity).
|
| 74 |
+
Then, click "Generate stack" to generate a focal stack. """
|
| 75 |
)
|
| 76 |
|
| 77 |
with gr.Row():
|