Spaces:
Runtime error
Runtime error
saurabhg2083
commited on
Commit
•
a087579
1
Parent(s):
5caacd5
ups
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"Predicted Label: {predicted_label_text} and new Text is:
|
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"Predicted Label: {predicted_label_text} and new Text is: {result.text}")
|
112 |
else:
|
113 |
st.warning("Please enter text Job Description.")
|