jbraha commited on
Commit
0b11182
1 Parent(s): 25894ff

move button

Browse files
Files changed (1) hide show
  1. app.py +13 -7
app.py CHANGED
@@ -71,13 +71,6 @@ strings = [ "D'aww! He matches this background colour I'm seemingly stuck with.
71
  "KSchwartz is an annoying person who often smells of rotten fish and burnt animal hair. He has a passing interest in Wikipedia."
72
  ]
73
 
74
- for string in strings:
75
- result = classifier(string)
76
- result = result[0]
77
- result = unpack(result)
78
- add_to_table(string, result, output)
79
-
80
- st.table(output)
81
 
82
 
83
  if st.button('Analyze'):
@@ -94,6 +87,19 @@ else:
94
 
95
 
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
 
98
 
99
 
 
71
  "KSchwartz is an annoying person who often smells of rotten fish and burnt animal hair. He has a passing interest in Wikipedia."
72
  ]
73
 
 
 
 
 
 
 
 
74
 
75
 
76
  if st.button('Analyze'):
 
87
 
88
 
89
 
90
+ for string in strings:
91
+ result = classifier(string)
92
+ result = result[0]
93
+ result = unpack(result)
94
+ add_to_table(string, result, output)
95
+
96
+ st.table(output)
97
+
98
+
99
+
100
+
101
+
102
+
103
 
104
 
105