davidmezzetti
commited on
Commit
•
22eaff8
1
Parent(s):
078ac21
Update app.py
Browse files
app.py
CHANGED
@@ -6,4 +6,4 @@ query = st.text_input("Query", value="feel good story since yesterday")
|
|
6 |
|
7 |
nlp = pipeline("text2text-generation", model="NeuML/t5-small-txtsql")
|
8 |
text = nlp(f"translate English to SQL: {query}", max_length=512)[0]["generated_text"]
|
9 |
-
st.write(f"*{text.replace(
|
|
|
6 |
|
7 |
nlp = pipeline("text2text-generation", model="NeuML/t5-small-txtsql")
|
8 |
text = nlp(f"translate English to SQL: {query}", max_length=512)[0]["generated_text"]
|
9 |
+
st.write(f"*{text.replace('$=', '<=')}*")
|