Tringles commited on
Commit
e38e6f8
·
1 Parent(s): f43f25c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
5
  from PIL import Image
6
  from loguru import logger
7
 
8
- riffusion_url = 'https://rrsowhl2evenygl2el4rm3hplm0mgelx.lambda-url.ap-northeast-2.on.aws/'
9
 
10
  def bta(audio_content: bytes):
11
  return (44100, np.frombuffer(audio_content, dtype=np.int16))
 
5
  from PIL import Image
6
  from loguru import logger
7
 
8
+ riffusion_url = os.environ["MODEL_ENDPOINT"]
9
 
10
  def bta(audio_content: bytes):
11
  return (44100, np.frombuffer(audio_content, dtype=np.int16))