Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|