unknown commited on
Commit
cf0c1ad
1 Parent(s): eab8425
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -204,8 +204,6 @@ class FoleyController:
204
 
205
  return save_sample_path
206
 
207
- controller = FoleyController()
208
-
209
  def ui():
210
  with gr.Blocks(css=css) as demo:
211
  gr.HTML(
@@ -271,6 +269,7 @@ def ui():
271
  return demo
272
 
273
  if __name__ == "__main__":
 
274
  demo = ui()
275
  demo.queue(3)
276
  demo.launch(server_name=args.server_name, server_port=args.port, share=args.share, allowed_paths=["./foleycrafter.png"])
 
204
 
205
  return save_sample_path
206
 
 
 
207
  def ui():
208
  with gr.Blocks(css=css) as demo:
209
  gr.HTML(
 
269
  return demo
270
 
271
  if __name__ == "__main__":
272
+ controller = FoleyController()
273
  demo = ui()
274
  demo.queue(3)
275
  demo.launch(server_name=args.server_name, server_port=args.port, share=args.share, allowed_paths=["./foleycrafter.png"])