Spaces:
Runtime error
Runtime error
Commit History
-
final
5b5608f -
update
9ab5cea -
update
e6b1679 -
Features of the New UI Designer:
Dynamic Field Addition: Users can dynamically add fields with custom types (Textbox, Number, Dropdown, Slider, Checkbox) and set appropriate attributes such as labels, placeholders, min/max values, and dropdown options. Visibility Control: Depending on the selected field type, only the relevant attributes are shown (e.g., placeholders for Textboxes, min/max values for Number/Slider fields, and choices for Dropdowns). Preview Added Fields: The gr.JSON component allows the user to preview all the fields they have added in JSON format, making it easier to review the design. Code Generation: Once all fields are added, users can generate the Gradio code, which includes the corresponding input components and a basic function that processes user inputs. Example Workflow: Select a component type (e.g., Textbox) and specify a label like "Name". Optionally set a placeholder (e.g., "Enter your name"). Add another component type (e.g., Slider) and set labels and min/max values. Add as many fie…3884c94 -
s
Verified signature5b675bb -
Create app.py
Verified signature10b722d -
initial commit
Verified signature207f47a