Spaces:
Runtime error
Runtime error
warning
Browse files- src/webui.py +2 -1
src/webui.py
CHANGED
@@ -188,7 +188,8 @@ def song_cover_pipeline_with_model_download(song_input, model_url, model_name, p
|
|
188 |
return vocal_only_path, vocal_backing_path
|
189 |
except gr.Error as e:
|
190 |
print(f"Error: {str(e)}")
|
191 |
-
|
|
|
192 |
finally:
|
193 |
if model_path:
|
194 |
cleanup_temp_model(model_path)
|
|
|
188 |
return vocal_only_path, vocal_backing_path
|
189 |
except gr.Error as e:
|
190 |
print(f"Error: {str(e)}")
|
191 |
+
gr.Warning(f"An error occurred 💥: {str(e)}", duration=15)
|
192 |
+
raise gr.Error(f"An error occurred: {str(e)}")
|
193 |
finally:
|
194 |
if model_path:
|
195 |
cleanup_temp_model(model_path)
|