Spaces:
Runtime error
Runtime error
Updated app.py
Browse files
app.py
CHANGED
@@ -21,15 +21,15 @@ iface.launch()
|
|
21 |
# Code to flip a text
|
22 |
|
23 |
|
24 |
-
def flip_text(x):
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
with gr.Blocks() as demo:
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
demo.launch()
|
|
|
21 |
# Code to flip a text
|
22 |
|
23 |
|
24 |
+
# def flip_text(x):
|
25 |
+
# return x[::-1]
|
26 |
+
|
27 |
+
|
28 |
+
# with gr.Blocks() as demo:
|
29 |
+
# gr.Markdown("Flip text using this demo.")
|
30 |
+
# with gr.Tab("Flip Text"):
|
31 |
+
# text_input = gr.Textbox()
|
32 |
+
# text_output = gr.Textbox()
|
33 |
+
# text_button = gr.Button("Flip")
|
34 |
+
# text_button.click(flip_text, inputs=text_input, outputs=text_output)
|
35 |
+
# demo.launch()
|