SoggyKiwi commited on
Commit
bc299fa
·
1 Parent(s): b7ebb88

fix chatgpt mistake lmao

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1,14 +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()
 
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()