mohan1869 commited on
Commit
2d3701f
·
1 Parent(s): 9978119

Deploy SQLCoder with Streamlit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ st.set_page_config(page_title="SQLCoder", layout="wide")
7
  # Load the model and tokenizer
8
  @st.cache_resource
9
  def load_model():
10
- model_name = "defog/sqlcoder-7b-2"
11
  tokenizer = AutoTokenizer.from_pretrained(model_name)
12
  model = AutoModelForCausalLM.from_pretrained(
13
  model_name,
 
7
  # Load the model and tokenizer
8
  @st.cache_resource
9
  def load_model():
10
+ model_name = "defog/sqlcoder"
11
  tokenizer = AutoTokenizer.from_pretrained(model_name)
12
  model = AutoModelForCausalLM.from_pretrained(
13
  model_name,