Spaces:
Runtime error
Runtime error
Update app.py
Browse filesmore trouble-shooting
app.py
CHANGED
@@ -75,24 +75,23 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
|
|
75 |
[Github](https://github.com/fi4cr/animalpose)
|
76 |
[Training Report](https://wandb.ai/john-fozard/dog-cat-pose/runs/kmwcvae5)
|
77 |
""")
|
78 |
-
with gr.
|
79 |
-
with gr.
|
80 |
-
#keypoint_tool = addp5sketch(sketch_url)
|
81 |
-
keypoint_tool = gr.HTML(lines)
|
82 |
-
with gr.Row():
|
83 |
prompts = gr.Textbox(label="Prompt")
|
84 |
-
with gr.Row():
|
85 |
negative_prompts = gr.Textbox(label="Negative Prompt")
|
86 |
-
with gr.Row():
|
87 |
conditioning_image = gr.Image(label="Conditioning Image")
|
88 |
-
|
89 |
-
|
90 |
-
|
|
|
91 |
submit_btn.click(fn=infer, inputs = [prompts, negative_prompts, conditioning_image], outputs = "gallery")
|
92 |
|
93 |
#gr.Interface(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
94 |
# examples=[["a Labrador crossing the road", "low quality", control_image]])
|
95 |
|
96 |
-
#gr.Interface(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery")
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
|
75 |
[Github](https://github.com/fi4cr/animalpose)
|
76 |
[Training Report](https://wandb.ai/john-fozard/dog-cat-pose/runs/kmwcvae5)
|
77 |
""")
|
78 |
+
with gr.Row():
|
79 |
+
with gr.Column():
|
|
|
|
|
|
|
80 |
prompts = gr.Textbox(label="Prompt")
|
|
|
81 |
negative_prompts = gr.Textbox(label="Negative Prompt")
|
|
|
82 |
conditioning_image = gr.Image(label="Conditioning Image")
|
83 |
+
submit_btn = gr.Button(value="Submit")
|
84 |
+
with gr.Column():
|
85 |
+
keypoint_tool = addp5sketch(sketch_url)
|
86 |
+
#keypoint_tool = gr.HTML(lines)
|
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", control_image]])
|
91 |
|
92 |
+
#gr.Interface(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery")
|
93 |
+
|
94 |
+
with gr.Row():
|
95 |
+
report = wandb_report(report_url)
|
96 |
+
|
97 |
+
demo.launch()
|