Spaces:
Sleeping
Sleeping
Upload radionic_app.py
Browse files- radionic_app.py +30 -0
radionic_app.py
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import numpy as np
|
3 |
+
|
4 |
+
|
5 |
+
def flip_image(x):
|
6 |
+
|
7 |
+
spell = '';
|
8 |
+
spell += 'Este pixel es limpiado de energía caotica, dañida y de la mala intención';
|
9 |
+
spell += 'pero mantiene cualquier energía sana de los lugares, seres y obejtos presentes';
|
10 |
+
spell += 'OM AH HUNG, para limpiar'
|
11 |
+
spell += 'este pixel es activado magicamente para emanar buena energia';
|
12 |
+
spell += 'reforzamos la buena energía, las buenas intenciones, los buenos deseos, el amor';
|
13 |
+
spell += 'OM MANI PADME HUNG';
|
14 |
+
spell += 'para el beneficio de todos los seres';
|
15 |
+
|
16 |
+
return x
|
17 |
+
|
18 |
+
with gr.Blocks() as demo:
|
19 |
+
gr.Markdown("# Radionic App")
|
20 |
+
with gr.Row():
|
21 |
+
image_input = gr.Image().style(height=200, width=200)
|
22 |
+
image_output = gr.Image().style(height=200, width=200)
|
23 |
+
image_button = gr.Button("Clean and protect the image")
|
24 |
+
|
25 |
+
image_button.click(flip_image, inputs=image_input, outputs=image_output)
|
26 |
+
|
27 |
+
examples = gr.Examples(examples=["assets/bernd-dittrich-unsplash (1).jpg"],
|
28 |
+
inputs=[image_input])
|
29 |
+
|
30 |
+
demo.launch(debug=True)
|