Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ import PIL
|
|
8 |
import spaces
|
9 |
import torch
|
10 |
import yaml
|
11 |
-
from gradio_imageslider import ImageSlider
|
12 |
from huggingface_hub import hf_hub_download
|
13 |
from PIL import Image
|
14 |
from safetensors.torch import load_file
|
@@ -144,7 +143,7 @@ with gr.Blocks(title="LBM Object Relighting") as demo:
|
|
144 |
)
|
145 |
|
146 |
with gr.Column():
|
147 |
-
output_slider = ImageSlider(label="Composite vs LBM", type="numpy")
|
148 |
output_slider.upload(
|
149 |
fn=evaluate,
|
150 |
inputs=[fg_image, bg_image, num_inference_steps],
|
|
|
8 |
import spaces
|
9 |
import torch
|
10 |
import yaml
|
|
|
11 |
from huggingface_hub import hf_hub_download
|
12 |
from PIL import Image
|
13 |
from safetensors.torch import load_file
|
|
|
143 |
)
|
144 |
|
145 |
with gr.Column():
|
146 |
+
output_slider = gr.ImageSlider(label="Composite vs LBM", type="numpy")
|
147 |
output_slider.upload(
|
148 |
fn=evaluate,
|
149 |
inputs=[fg_image, bg_image, num_inference_steps],
|