Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -879,7 +879,7 @@ def create_interface():
|
|
| 879 |
if example['config_lua']:
|
| 880 |
# Show preview of config
|
| 881 |
config_preview = example['config_lua'][:200] + "..." if len(example['config_lua']) > 200 else example['config_lua']
|
| 882 |
-
gr.
|
| 883 |
|
| 884 |
# Download button
|
| 885 |
download_btn = gr.Button(f"📥 Download Preset {example['id']}", size="sm", variant="secondary")
|
|
|
|
| 879 |
if example['config_lua']:
|
| 880 |
# Show preview of config
|
| 881 |
config_preview = example['config_lua'][:200] + "..." if len(example['config_lua']) > 200 else example['config_lua']
|
| 882 |
+
gr.Textbox(config_preview, label=f"Config Preview", lines=8, max_lines=8, interactive=False)
|
| 883 |
|
| 884 |
# Download button
|
| 885 |
download_btn = gr.Button(f"📥 Download Preset {example['id']}", size="sm", variant="secondary")
|