Spaces:
Build error
Build error
Update app.py
Browse files708 unmodified lines709710711712713714715716717718708 unmodified linesif __name__ == "__main__":parser = argparse.ArgumentParser(description='Start the Gradio demo with specified captioner.')parser.add_argument('--captioner', type=str, choices=['molmo', 'llava', 'disable'], default='molmo', help='Captioner to use: molmo, llava, disable.')args = parser.parse_args()# Initialize models with the specified captionerpipeline, captioner = initialize_models(args.captioner)demo.launch(debug=True, ssr_mode=False)708 unmodified lines709710711712713714715716717718708 unmodified linesif __name__ == "__main__":parser = argparse.ArgumentParser(description='Start the Gradio demo with specified captioner.')parser.add_argument('--captioner', type=str, choices=['molmo', 'llava', 'disable'], default='llava', help='Captioner to use: molmo, llava, disable.')args = parser.parse_args()# Initialize models with the specified captionerpipeline, captioner = initialize_models(args.captioner)demo.launch(debug=True)
app.py+2-2