HussainLatiff commited on
Commit
a490c50
Β·
verified Β·
1 Parent(s): 3fcf795

Update app.py

Browse files

updated delete method

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def predict_video(input_video, input_audio=None, input_choice="Explosions"):
107
  if responseQueryText == """{"error":{"code":"InvalidRequest","message":"Value for indexName is invalid."}}""":
108
  responseQueryText = videoAnalysis(videoSASURL, videoSASToken, input_choice)
109
 
110
- AzureBlobStorageVideo.deleteUserVideoFromBlobStorage(video_container_name,filename)
111
 
112
  # 3. Use moviepy to add haptics to video
113
 
 
107
  if responseQueryText == """{"error":{"code":"InvalidRequest","message":"Value for indexName is invalid."}}""":
108
  responseQueryText = videoAnalysis(videoSASURL, videoSASToken, input_choice)
109
 
110
+ AzureBlobStorageVideo.delete_container('useruploadhuggingfacevideo')
111
 
112
  # 3. Use moviepy to add haptics to video
113