Spaces:
Sleeping
Sleeping
Commit ·
71c658a
1
Parent(s): 5221a6c
Add Codex run config and sample button styling
Browse filesFiles changed (4)
- .codex/config.tomlAdded+1
- .codex/environments/environment.tomlAdded+11
- README.md+8
- app.py+19
1sandbox_mode = "workspace-write"1234567891011# THIS IS AUTOGENERATED. DO NOT EDIT MANUALLYversion = 1name = "STLtoGCode"
[setup]script = ""
[[actions]]name = "Run"icon = "run"command = "uv run gradio app.py"18 unmodified lines19202122232418 unmodified linesuv run python app.py```Then open the local Gradio URL in your browser, upload an STL file, and generate the TIFF stack.## What the app does18 unmodified lines192021222324252627282930313218 unmodified linesuv run python app.py```For reload mode during development, run:```powershelluv run gradio app.py```When `app.py` changes, Gradio will automatically rerun the file and refresh the demo.Then open the local Gradio URL in your browser, upload an STL file, and generate the TIFF stack.## What the app does
62 unmodified lines636465666768799 unmodified lines86886987087187287362 unmodified linescursor: pointer !important;opacity: 1 !important;}"""# Gradio 6.10's gr.Model3D leaves the Undo (reset view) button permanently799 unmodified linessize="sm",min_width=140,scale=0,)with gr.Column(scale=0, min_width=240):model_opacity = gr.Checkbox(62 unmodified lines636465666768697071727374757677787980818283848586799 unmodified lines88688788888989089189262 unmodified linescursor: pointer !important;opacity: 1 !important;}#load-sample-stls-button,#load-sample-stls-button button {background: #f97316 !important;border-color: #ea580c !important;color: #ffffff !important;}#load-sample-stls-button:hover,#load-sample-stls-button button:hover {background: #ea580c !important;border-color: #c2410c !important;}#load-sample-stls-button:focus-visible,#load-sample-stls-button button:focus-visible {box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.35) !important;}"""# Gradio 6.10's gr.Model3D leaves the Undo (reset view) button permanently799 unmodified linessize="sm",min_width=140,scale=0,elem_id="load-sample-stls-button",)with gr.Column(scale=0, min_width=240):model_opacity = gr.Checkbox(
.codex/config.tomlAdded+1
.codex/environments/environment.tomlAdded+11
README.md+8
app.py+19