ginipick commited on
Commit
06d41c8
Β·
verified Β·
1 Parent(s): cfffafa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -20,6 +20,7 @@ logging.basicConfig(
20
  ]
21
  )
22
 
 
23
  # 가사 뢄석 ν•¨μˆ˜
24
  def analyze_lyrics(lyrics):
25
  # 쀄 λ‹¨μœ„λ‘œ 뢄리
@@ -421,11 +422,12 @@ Stay with me forever, let our love just flow
421
  )
422
 
423
  # μ„œλ²„ μ„€μ •μœΌλ‘œ μ‹€ν–‰
424
- demo.queue(max_size=20).launch(
425
- server_name="0.0.0.0",
426
- server_port=7860,
427
- share=True,
428
- show_api=True,
429
- show_error=True,
430
- max_threads=2
431
- )
 
 
20
  ]
21
  )
22
 
23
+
24
  # 가사 뢄석 ν•¨μˆ˜
25
  def analyze_lyrics(lyrics):
26
  # 쀄 λ‹¨μœ„λ‘œ 뢄리
 
422
  )
423
 
424
  # μ„œλ²„ μ„€μ •μœΌλ‘œ μ‹€ν–‰
425
+ if __name__ == "__main__":
426
+ demo.queue(max_size=20).launch(
427
+ server_name="0.0.0.0",
428
+ server_port=7860,
429
+ share=True,
430
+ show_api=True,
431
+ show_error=True,
432
+ max_threads=2
433
+ )