import sys from pathlib import Path app_file = Path("app_kit/app.py") content = app_file.read_text() # Update Columns to have min_width content = content.replace( 'with gr.Column(scale=1):', 'with gr.Column(scale=1, min_width=400):' ) app_file.write_text(content)