Update app.py
Browse filesFixing block structure
app.py
CHANGED
@@ -65,10 +65,17 @@ with gr.Blocks(css = ".gradio-container {background-color: slate}") as demo:
|
|
65 |
[Github](https://github.com/fi4cr/animalpose)
|
66 |
[Training Report](https://wandb.ai/john-fozard/dog-cat-pose/runs/kmwcvae5)
|
67 |
""")
|
|
|
|
|
68 |
keypoint_tool = gr.HTML(lines)
|
69 |
-
|
70 |
-
|
|
|
|
|
|
|
71 |
image = gr.Image()
|
|
|
|
|
72 |
|
73 |
#gr.Interface(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
74 |
# examples=[["a Labrador crossing the road", "low quality", control_image]])
|
|
|
65 |
[Github](https://github.com/fi4cr/animalpose)
|
66 |
[Training Report](https://wandb.ai/john-fozard/dog-cat-pose/runs/kmwcvae5)
|
67 |
""")
|
68 |
+
with gr.Column():
|
69 |
+
with gr.Row():
|
70 |
keypoint_tool = gr.HTML(lines)
|
71 |
+
with gr.Row():
|
72 |
+
pos_prompts = gr.Textbox(label="Prompt")
|
73 |
+
with gr.Row():
|
74 |
+
neg_prompts = gr.Textbox(label="Negative Prompt")
|
75 |
+
with gr.Row():
|
76 |
image = gr.Image()
|
77 |
+
with gr.Row():
|
78 |
+
report = wandb_report(report_url)
|
79 |
|
80 |
#gr.Interface(fn=infer, inputs = ["text", "text", "image"], outputs = "gallery",
|
81 |
# examples=[["a Labrador crossing the road", "low quality", control_image]])
|