Update app.py
Browse filesAdding function to and wands report
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
|