Spaces:
Runtime error
Runtime error
fix
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import torch
|
2 |
from pipelines.inverted_ve_pipeline import STYLE_DESCRIPTION_DICT, create_image_grid
|
3 |
import gradio as gr
|
4 |
-
import os, json
|
5 |
import numpy as np
|
6 |
from PIL import Image
|
7 |
|
@@ -107,7 +107,7 @@ def load_example_controlnet():
|
|
107 |
inf_object_name = config["inference_info"]["inf_object_list"][0]
|
108 |
|
109 |
canny_path = './assets/depth_dir/gundam.png'
|
110 |
-
image_info = [image_path, canny_path, style_name,
|
111 |
|
112 |
examples.append(image_info)
|
113 |
|
|
|
1 |
import torch
|
2 |
from pipelines.inverted_ve_pipeline import STYLE_DESCRIPTION_DICT, create_image_grid
|
3 |
import gradio as gr
|
4 |
+
import os, json, cv2
|
5 |
import numpy as np
|
6 |
from PIL import Image
|
7 |
|
|
|
107 |
inf_object_name = config["inference_info"]["inf_object_list"][0]
|
108 |
|
109 |
canny_path = './assets/depth_dir/gundam.png'
|
110 |
+
image_info = [image_path, canny_path, style_name, "", 1, 0.5, 50]
|
111 |
|
112 |
examples.append(image_info)
|
113 |
|