Integrate with new spotify api
Browse files
app.py
CHANGED
@@ -79,8 +79,8 @@ def process_inputs(
|
|
79 |
) -> str:
|
80 |
audio_input = AudioInput(audio_path, start_time, run_for)
|
81 |
if spotify_url:
|
82 |
-
spotify = SpotifyApi()
|
83 |
-
audio_input.path = spotify.download_episode(
|
84 |
images = get_stable_diffusion_images(prompt)
|
85 |
video = animate_images(images, audio_input)
|
86 |
return video
|
|
|
79 |
) -> str:
|
80 |
audio_input = AudioInput(audio_path, start_time, run_for)
|
81 |
if spotify_url:
|
82 |
+
spotify = SpotifyApi(spotify_url)
|
83 |
+
audio_input.path = spotify.download_episode()
|
84 |
images = get_stable_diffusion_images(prompt)
|
85 |
video = animate_images(images, audio_input)
|
86 |
return video
|