loisk commited on
Commit
eaeeae2
1 Parent(s): 447bf74

Updated app.py

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