File size: 360 Bytes
f8fab45
8fb4d0a
2b058ad
f8fab45
 
9ed468a
c652815
f8fab45
4e0406e
 
 
 
8fba1c2
f8fab45
ef46c9f
d39b109
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os
import streamlit as st
from langchain_community.llms import HuggingFaceHub


os.environ["HUGGINGFACEHUB_API_TOKEN"]
llm =HuggingFaceHub(repo_id='google/flan-t5-large')


st.title("SQL Query Generator")
st.write("Returns and runs queries from questions in natural language.")

our_query ="what is india"
completion= llm(our_query)
print(completion)