Spaces:
Sleeping
Sleeping
import gradio as gr | |
def process_image(input_image, learning_rate, iterations): | |
# Your image processing logic here | |
output_image = input_image # Placeholder for your image processing | |
return output_image | |
iface = gr.Interface( | |
fn=process_image, | |
inputs=[ | |
gr.Image(), | |
gr.Number(value=0.01, label="Learning Rate"), | |
gr.Number(value=1, label="Iterations") | |
], | |
outputs=gr.Image() | |
) | |
iface.launch() |