davidmezzetti
commited on
Commit
•
df0005c
1
Parent(s):
22eaff8
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(
|
|
|
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(text.replace('$=', '<='))
|