vivek9 commited on
Commit
1525b5b
·
verified ·
1 Parent(s): b847f78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,8 +91,8 @@ def visualize_neural(a):
91
  else:
92
  return image_array,"palindrom"
93
 
 
94
 
95
-
96
- demo = gr.Interface(fn=visualize_neural, inputs="text", outputs=[gr.Image(label="Neural network visualization"),gr.Textbox(label="output")])
97
 
98
  demo.launch(share=True)
 
91
  else:
92
  return image_array,"palindrom"
93
 
94
+ title="palindrom/non palindrom detection of binary string of length 10 by neural network"
95
 
96
+ demo = gr.Interface(fn=visualize_neural, inputs=gr.Textbox(label="input a binary string of length 10"), outputs=[gr.Image(label="Neural network visualization"),gr.Textbox(label="output")],title=title)
 
97
 
98
  demo.launch(share=True)