Update app.py
Browse filestrouble-shooting
app.py
CHANGED
@@ -74,14 +74,14 @@ with gr.Blocks(theme='kfahn/AnimalPose') as demo:
|
|
74 |
with gr.Row():
|
75 |
keypoint_tool = gr.HTML(lines)
|
76 |
with gr.Row():
|
77 |
-
|
78 |
with gr.Row():
|
79 |
neg_prompts = gr.Textbox(label="Negative Prompt")
|
80 |
with gr.Row():
|
81 |
-
image = gr.Image()
|
82 |
with gr.Row():
|
83 |
-
|
84 |
-
|
85 |
with gr.Row():
|
86 |
report = wandb_report(report_url)
|
87 |
|
|
|
74 |
with gr.Row():
|
75 |
keypoint_tool = gr.HTML(lines)
|
76 |
with gr.Row():
|
77 |
+
prompts = gr.Textbox(label="Prompt")
|
78 |
with gr.Row():
|
79 |
neg_prompts = gr.Textbox(label="Negative Prompt")
|
80 |
with gr.Row():
|
81 |
+
image = gr.Image(label="Conditioning Image")
|
82 |
with gr.Row():
|
83 |
+
submit_btn = gr.Button(value="Submit")
|
84 |
+
submit_btn.click(fn=infer, inputs = [prompts, negative_prompts, image], outputs = "gallery")
|
85 |
with gr.Row():
|
86 |
report = wandb_report(report_url)
|
87 |
|