File size: 275 Bytes
50f83f4
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)