wwwillchen commited on
Commit
cd20a5a
·
1 Parent(s): 8e04495
Files changed (2) hide show
  1. text_to_image.py +0 -5
  2. text_to_text.py +0 -5
text_to_image.py CHANGED
@@ -2,12 +2,7 @@ import mesop as me
2
  import mesop.labs as mel
3
 
4
 
5
- def load(e: me.LoadEvent):
6
- me.set_theme_mode("system")
7
-
8
-
9
  @me.page(
10
- on_load=load,
11
  security_policy=me.SecurityPolicy(
12
  allowed_iframe_parents=["https://google.github.io", "https://huggingface.co"]
13
  ),
 
2
  import mesop.labs as mel
3
 
4
 
 
 
 
 
5
  @me.page(
 
6
  security_policy=me.SecurityPolicy(
7
  allowed_iframe_parents=["https://google.github.io", "https://huggingface.co"]
8
  ),
text_to_text.py CHANGED
@@ -2,12 +2,7 @@ import mesop as me
2
  import mesop.labs as mel
3
 
4
 
5
- def load(e: me.LoadEvent):
6
- me.set_theme_mode("system")
7
-
8
-
9
  @me.page(
10
- on_load=load,
11
  security_policy=me.SecurityPolicy(
12
  allowed_iframe_parents=["https://google.github.io", "https://huggingface.co"]
13
  ),
 
2
  import mesop.labs as mel
3
 
4
 
 
 
 
 
5
  @me.page(
 
6
  security_policy=me.SecurityPolicy(
7
  allowed_iframe_parents=["https://google.github.io", "https://huggingface.co"]
8
  ),