neo7team commited on
Commit
9a5fbf0
·
verified ·
1 Parent(s): 6aaeead

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,5 +1,3 @@
1
- import spaces
2
- import gradio as gr
3
  import torch
4
  import torchaudio
5
  import os
@@ -396,4 +394,4 @@ with gr.Blocks() as interface:
396
  ex5.click(lambda: ["Produce upbeat electronic music for a dance party", None, None, None, None, 0, 10, 7.0, 100, 0, "406022999", "dpmpp-3m-sde", 0.03, 500, 0.0, False, None, 0.1], inputs=[], outputs=inputs)
397
  ex6.click(lambda: ["A dreamy lo-fi beat with vinyl crackle", None, None, None, None, 0, 10, 7.0, 100, 0, "807934770", "dpmpp-3m-sde", 0.03, 500, 0.0, False, None, 0.1], inputs=[], outputs=inputs)
398
 
399
- interface.queue(5).launch(server_name="0.0.0.0", server_port=7860, share=True)
 
 
 
1
  import torch
2
  import torchaudio
3
  import os
 
394
  ex5.click(lambda: ["Produce upbeat electronic music for a dance party", None, None, None, None, 0, 10, 7.0, 100, 0, "406022999", "dpmpp-3m-sde", 0.03, 500, 0.0, False, None, 0.1], inputs=[], outputs=inputs)
395
  ex6.click(lambda: ["A dreamy lo-fi beat with vinyl crackle", None, None, None, None, 0, 10, 7.0, 100, 0, "807934770", "dpmpp-3m-sde", 0.03, 500, 0.0, False, None, 0.1], inputs=[], outputs=inputs)
396
 
397
+ interface.queue(5).launch(server_name="0.0.0.0", server_port=9546, share=True)