davidmezzetti commited on
Commit
df0005c
1 Parent(s): 22eaff8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(text.replace('$=', '<='))