davidmezzetti commited on
Commit
4dc99f0
1 Parent(s): 2638083

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
 
3
  from transformers import pipeline
4
 
5
- query = st.text_input("Query")
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"]
 
2
 
3
  from transformers import pipeline
4
 
5
+ 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"]