Spaces:
Sleeping
Sleeping
Haoyuan Zhang
commited on
Commit
·
69e9b1f
1
Parent(s):
40c0fef
test4
Browse files
main.py
CHANGED
|
@@ -9,7 +9,7 @@ def load(e: me.LoadEvent):
|
|
| 9 |
@me.page(
|
| 10 |
on_load=load,
|
| 11 |
security_policy=me.SecurityPolicy(
|
| 12 |
-
allowed_iframe_parents=["https://
|
| 13 |
),
|
| 14 |
path="/text_to_image",
|
| 15 |
title="Text to Image Example",
|
|
|
|
| 9 |
@me.page(
|
| 10 |
on_load=load,
|
| 11 |
security_policy=me.SecurityPolicy(
|
| 12 |
+
allowed_iframe_parents=["https://huggingface.co"]
|
| 13 |
),
|
| 14 |
path="/text_to_image",
|
| 15 |
title="Text to Image Example",
|