Spaces:
Runtime error
Runtime error
Commit
•
60b23bd
1
Parent(s):
f568bfb
Update app.py
Browse files
app.py
CHANGED
@@ -108,6 +108,6 @@ if st.button("Calculate Similarity"):
|
|
108 |
# Add the prefix "grammar: " before each input
|
109 |
result = happy_tt.generate_text("grammar: "+rewritten_sentence, args=args)
|
110 |
#print(result.text) # This sentence has bad grammar.
|
111 |
-
st.success(f"
|
112 |
else:
|
113 |
st.warning("Please enter text Job Description.")
|
|
|
108 |
# Add the prefix "grammar: " before each input
|
109 |
result = happy_tt.generate_text("grammar: "+rewritten_sentence, args=args)
|
110 |
#print(result.text) # This sentence has bad grammar.
|
111 |
+
st.success(f"Label: {predicted_label_text}")
|
112 |
else:
|
113 |
st.warning("Please enter text Job Description.")
|