kfahn commited on
Commit
466cd5e
1 Parent(s): 418f709

Update app.py

Browse files

more trouble-shooting

Files changed (1) hide show
  1. app.py +12 -13
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.Column():
79
- with gr.Row():
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
- with gr.Row():
89
- report = wandb_report(report_url)
90
- submit_btn = gr.Button(value="Submit")
 
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
- demo.launch()
 
 
 
 
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()