kfahn commited on
Commit
3eed896
1 Parent(s): ffe36d8

Update app.py

Browse files

Adding function to and wands report

Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -13,6 +13,11 @@ with open("test.html") as f:
13
 
14
  def create_key(seed=0):
15
  return jax.random.PRNGKey(seed)
 
 
 
 
 
16
 
17
  controlnet, controlnet_params = FlaxControlNetModel.from_pretrained(
18
  "JFoz/dog-cat-pose", dtype=jnp.bfloat16
 
13
 
14
  def create_key(seed=0):
15
  return jax.random.PRNGKey(seed)
16
+ def wandb_report(url):
17
+ iframe = f'<iframe src ={url} style="border:none;height:1024px;width:100%"/frame>'
18
+ return gr.HTML(iframe)
19
+
20
+ report_url = 'https://wandb.ai/john-fozard/dog-cat-pose/runs/kmwcvae5'
21
 
22
  controlnet, controlnet_params = FlaxControlNetModel.from_pretrained(
23
  "JFoz/dog-cat-pose", dtype=jnp.bfloat16