Spaces:
Runtime error
Runtime error
tomaseo2022
commited on
Commit
•
1c5e5d4
1
Parent(s):
b194eb5
Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,9 @@
|
|
1 |
import numpy as np
|
2 |
import gradio as gr
|
3 |
|
4 |
-
|
5 |
-
def flip_text(x):
|
6 |
-
return x[::-1]
|
7 |
-
|
8 |
-
|
9 |
def flip_image(x):
|
10 |
return np.fliplr(x)
|
11 |
|
12 |
-
|
13 |
with gr.Blocks() as demo:
|
14 |
with gr.Tab(""):
|
15 |
with gr.Row():
|
|
|
1 |
import numpy as np
|
2 |
import gradio as gr
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
def flip_image(x):
|
5 |
return np.fliplr(x)
|
6 |
|
|
|
7 |
with gr.Blocks() as demo:
|
8 |
with gr.Tab(""):
|
9 |
with gr.Row():
|