Spaces:
Sleeping
Sleeping
fix chatgpt mistake lmao
Browse files
app.py
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def process_image(input_image, learning_rate, iterations):
|
4 |
-
#
|
5 |
-
output_image = input_image
|
6 |
return output_image
|
7 |
|
8 |
iface = gr.Interface(
|
9 |
fn=process_image,
|
10 |
-
inputs=[gr.
|
11 |
-
outputs=
|
12 |
)
|
13 |
|
14 |
-
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
def process_image(input_image, learning_rate, iterations):
|
4 |
+
# Your image processing logic here
|
5 |
+
output_image = input_image # Placeholder for your image processing
|
6 |
return output_image
|
7 |
|
8 |
iface = gr.Interface(
|
9 |
fn=process_image,
|
10 |
+
inputs=[gr.Image(), gr.Number(default=0.01, label="Learning Rate"), gr.Number(default=1, label="Iterations")],
|
11 |
+
outputs=gr.Image()
|
12 |
)
|
13 |
|
14 |
+
iface.launch()
|