WoWoWoWololo commited on
Commit
b9e1e27
1 Parent(s): 861f96b

comments are updated

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -14,9 +14,7 @@ from fastapi import FastAPI
14
  class LayoutBase:
15
  main_layout: Block # Stores the main layout from the gradio package of this class.
16
  name: str # Name of the class. Used to differentiate from other layouts and for debug purposes.
17
- global_children_dict: Dict[
18
- str, Block
19
- ] # Stores the children components with given name.
20
  renderables: list # Stores the renderable elements such as components and layouts.
21
 
22
  def __init__(self) -> None:
@@ -107,8 +105,8 @@ class Application:
107
  print(f"{child.name}'s attach_event is not implemented")
108
 
109
  """
110
- clearing the children
111
- we don't need them because they are going to live in the app.blocks and app.fns functions
112
  """
113
 
114
  def _clear(self):
 
14
  class LayoutBase:
15
  main_layout: Block # Stores the main layout from the gradio package of this class.
16
  name: str # Name of the class. Used to differentiate from other layouts and for debug purposes.
17
+ global_children_dict: Dict[str, Block] # Stores the children components with given name.
 
 
18
  renderables: list # Stores the renderable elements such as components and layouts.
19
 
20
  def __init__(self) -> None:
 
105
  print(f"{child.name}'s attach_event is not implemented")
106
 
107
  """
108
+ clearing the children layouts
109
+ we don't need them because they are going to live in the app.blocks and app.fns variables
110
  """
111
 
112
  def _clear(self):