FredinVázquez commited on
Commit
2a0ada8
·
1 Parent(s): d06c53f

update main

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -152,8 +152,7 @@ def build_ui() -> gr.Blocks:
152
  return demo
153
 
154
 
155
- def main() -> None:
156
- # log.info("Starting Cook With Me (mock=%s, gpu=%s)", config.is_mock(), config.is_gpu_enabled())
157
  demo = build_ui()
158
  demo.launch(
159
  server_name="0.0.0.0",
@@ -162,8 +161,4 @@ def main() -> None:
162
  inbrowser=True,
163
  theme=theme,
164
  css=CSS
165
- )
166
-
167
-
168
- if __name__ == "__main__":
169
- main()
 
152
  return demo
153
 
154
 
155
+ if __name__ == "__main__":
 
156
  demo = build_ui()
157
  demo.launch(
158
  server_name="0.0.0.0",
 
161
  inbrowser=True,
162
  theme=theme,
163
  css=CSS
164
+ )