Spaces:
Running
Running
Josh Brown Kramer
commited on
Commit
·
edd2e49
1
Parent(s):
d2610d4
Switch red and blue
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ import gradio as gr
|
|
| 11 |
|
| 12 |
# --- 2. Define the prediction function ---
|
| 13 |
def predict(input_image):
|
| 14 |
-
return
|
| 15 |
# # Pre-process the input image
|
| 16 |
# processed_image = load_image(input_image)
|
| 17 |
|
|
|
|
| 11 |
|
| 12 |
# --- 2. Define the prediction function ---
|
| 13 |
def predict(input_image):
|
| 14 |
+
return input_image[..., ::-1]
|
| 15 |
# # Pre-process the input image
|
| 16 |
# processed_image = load_image(input_image)
|
| 17 |
|