Rayso / app.py
rayochoajr's picture
Update app.py
61b2e8e
raw
history blame contribute delete
418 Bytes
import gradio as gr
def process_input(input_value):
return f"Slider Value: {input_value}"
# Create the slider component
slider = gr.components.Slider(minimum=0, maximum=1, step=0.01, label="Rotated Slider")
# Define the interface
iface = gr.Interface(
fn=process_input,
inputs=slider,
outputs="text",
css=".slider_container { transform: rotate(30deg); }"
)
# Launch the interface
iface.launch()