Spaces:
Running
Running
oceansweep
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1445,6 +1445,9 @@ if __name__ == "__main__":
|
|
1445 |
logging.debug("ffmpeg check being performed...")
|
1446 |
check_ffmpeg()
|
1447 |
|
|
|
|
|
|
|
1448 |
try:
|
1449 |
results = main(args.input_path, api_name=args.api_name, api_key=args.api_key, num_speakers=args.num_speakers, whisper_model=args.whisper_model, offset=args.offset, vad_filter=args.vad_filter, download_video_flag=args.video)
|
1450 |
logging.info('Transcription process completed.')
|
|
|
1445 |
logging.debug("ffmpeg check being performed...")
|
1446 |
check_ffmpeg()
|
1447 |
|
1448 |
+
# Hey, we're in HuggingFace
|
1449 |
+
launch_ui(demo_mode=args.demo_mode)
|
1450 |
+
|
1451 |
try:
|
1452 |
results = main(args.input_path, api_name=args.api_name, api_key=args.api_key, num_speakers=args.num_speakers, whisper_model=args.whisper_model, offset=args.offset, vad_filter=args.vad_filter, download_video_flag=args.video)
|
1453 |
logging.info('Transcription process completed.')
|