Spaces:
Sleeping
Sleeping
File size: 428 Bytes
b7ebb88 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
def process_image(input_image, learning_rate, iterations):
# Image processing logic goes here.
output_image = input_image # Placeholder for your processing
return output_image
iface = gr.Interface(
fn=process_image,
inputs=[gr.inputs.Image(), gr.inputs.Number(default=0.01, label="Learning Rate"), gr.inputs.Number(default=1, label="Iterations")],
outputs="image"
)
iface.launch()
|