whooray commited on
Commit
ab92936
·
verified ·
1 Parent(s): 9364a66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -32,9 +32,12 @@ def inference(audio_1, audio_2):
32
 
33
  title = "음성 합성"
34
 
35
- gr.Interface(
36
  inference,
37
  [gr.Audio(type="filepath", label="Vocals"),gr.Audio(type="filepath", label="배경음")],
38
  gr.Audio(type="numpy", label="합성 결과"),
39
  title=title,
40
- ).launch(enable_queue=True, debug=True)
 
 
 
 
32
 
33
  title = "음성 합성"
34
 
35
+ demo = gr.Interface(
36
  inference,
37
  [gr.Audio(type="filepath", label="Vocals"),gr.Audio(type="filepath", label="배경음")],
38
  gr.Audio(type="numpy", label="합성 결과"),
39
  title=title,
40
+ )
41
+
42
+ demo.queue(max_size=1)
43
+ demo.launch(debug=True)