Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
48a96cb
1
Parent(s):
76a29c2
Update app.py
Browse files
app.py
CHANGED
@@ -65,9 +65,7 @@ def get_pose(image):
|
|
65 |
|
66 |
def process(input_image, prompt, input_control):
|
67 |
# TODO: Add other control tasks
|
68 |
-
if input_control == "
|
69 |
-
return process_canny(input_image, prompt)
|
70 |
-
elif input_control == "Pose":
|
71 |
return process_pose(input_image, prompt)
|
72 |
|
73 |
return process_canny(input_image, prompt)
|
@@ -99,7 +97,6 @@ def process_pose(input_image, prompt):
|
|
99 |
block = gr.Blocks().queue()
|
100 |
control_task_list = [
|
101 |
"Canny Edge Map",
|
102 |
-
"Scribble",
|
103 |
"Pose"
|
104 |
]
|
105 |
with block:
|
|
|
65 |
|
66 |
def process(input_image, prompt, input_control):
|
67 |
# TODO: Add other control tasks
|
68 |
+
if input_control == "Pose":
|
|
|
|
|
69 |
return process_pose(input_image, prompt)
|
70 |
|
71 |
return process_canny(input_image, prompt)
|
|
|
97 |
block = gr.Blocks().queue()
|
98 |
control_task_list = [
|
99 |
"Canny Edge Map",
|
|
|
100 |
"Pose"
|
101 |
]
|
102 |
with block:
|