local references...
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ else:
|
|
43 |
|
44 |
if st.button('Analyze'):
|
45 |
result = classifier(input)
|
|
|
46 |
if option == 'Fine-tuned':
|
47 |
output = {'Toxic': result['LABEL_0']}
|
48 |
del result['LABEL_0']
|
|
|
43 |
|
44 |
if st.button('Analyze'):
|
45 |
result = classifier(input)
|
46 |
+
output = None
|
47 |
if option == 'Fine-tuned':
|
48 |
output = {'Toxic': result['LABEL_0']}
|
49 |
del result['LABEL_0']
|