oceansweep commited on
Commit
277d39b
1 Parent(s): e3abb9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1254,9 +1254,9 @@ def launch_ui(demo_mode=False):
1254
  video_file_path = transcription_result.get('video_path', None)
1255
  return json_data, summary_file_path, json_file_path, summary_file_path, video_file_path
1256
  else:
1257
- return "No results found.", "No summary available.", None, None, None
1258
  except Exception as e:
1259
- return str(e), "Error processing the request.", None, None, None
1260
 
1261
  inputs = [
1262
  gr.components.Textbox(label="URL", placeholder="Enter the video URL here"),
 
1254
  video_file_path = transcription_result.get('video_path', None)
1255
  return json_data, summary_file_path, json_file_path, summary_file_path, video_file_path
1256
  else:
1257
+ return "No results found.", "No summary available.", None, None, None, None
1258
  except Exception as e:
1259
+ return str(e), "Error processing the request.", None, None, None, None
1260
 
1261
  inputs = [
1262
  gr.components.Textbox(label="URL", placeholder="Enter the video URL here"),