Spaces:
Runtime error
Runtime error
foz
commited on
Commit
•
370fb3c
1
Parent(s):
7e42bcd
Small fixes
Browse files
app.py
CHANGED
@@ -80,17 +80,17 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
|
|
80 |
conditioning_image = gr.Image(label="Conditioning Image")
|
81 |
|
82 |
with gr.Column():
|
83 |
-
#keypoint_tool = addp5sketch(sketch_url)
|
84 |
keypoint_tool = gr.HTML(lines)
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
|
89 |
#gr.Interface(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
90 |
-
|
91 |
|
92 |
#with gr.Row():
|
93 |
# report = wandb_report(report_url)
|
94 |
|
95 |
|
96 |
-
demo.launch()
|
|
|
80 |
conditioning_image = gr.Image(label="Conditioning Image")
|
81 |
|
82 |
with gr.Column():
|
83 |
+
# #keypoint_tool = addp5sketch(sketch_url)
|
84 |
keypoint_tool = gr.HTML(lines)
|
85 |
+
gallery = gr.Gallery(label="output")
|
86 |
+
submit_btn = gr.Button("Submit")
|
87 |
+
submit_btn.click(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = gallery)
|
88 |
|
89 |
#gr.Interface(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
90 |
+
# examples=[["a Labrador crossing the road", "low quality", "myimage.jpg"]])
|
91 |
|
92 |
#with gr.Row():
|
93 |
# report = wandb_report(report_url)
|
94 |
|
95 |
|
96 |
+
demo.launch()
|