vivek9 commited on
Commit
87a01d8
1 Parent(s): fa6730b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -79,9 +79,9 @@ def visualize_neural(a):
79
  plt.title('Neural Network Graph')
80
  plt.savefig(buffer, format='png')
81
  plt.close()
82
- buffer.seek(0)
83
- image = Image.open(buffer)
84
- image_array = np.array(image)
85
  if output<0.5:
86
  return image_array,"Non palindrom"
87
  else:
 
79
  plt.title('Neural Network Graph')
80
  plt.savefig(buffer, format='png')
81
  plt.close()
82
+ buffer.seek(0)
83
+ image = Image.open(buffer)
84
+ image_array = np.array(image)
85
  if output<0.5:
86
  return image_array,"Non palindrom"
87
  else: