Spaces:
Sleeping
Sleeping
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() | |