SoggyKiwi commited on
Commit
b7ebb88
1 Parent(s): 3d9ede6
Files changed (2) hide show
  1. app.py +14 -0
  2. requirements.txt +1 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def process_image(input_image, learning_rate, iterations):
4
+ # Image processing logic goes here.
5
+ output_image = input_image # Placeholder for your processing
6
+ return output_image
7
+
8
+ iface = gr.Interface(
9
+ fn=process_image,
10
+ inputs=[gr.inputs.Image(), gr.inputs.Number(default=0.01, label="Learning Rate"), gr.inputs.Number(default=1, label="Iterations")],
11
+ outputs="image"
12
+ )
13
+
14
+ iface.launch()
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio