Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,10 @@ from langchain_community.llms import HuggingFaceHub
|
|
| 6 |
os.environ["HUGGINGFACEHUB_API_TOKEN"]
|
| 7 |
llm =HuggingFaceHub(repo_id='google/flan-t5-large')
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
our_query ="what is india"
|
| 10 |
completion= llm(our_query)
|
| 11 |
print(completion)
|
|
|
|
| 6 |
os.environ["HUGGINGFACEHUB_API_TOKEN"]
|
| 7 |
llm =HuggingFaceHub(repo_id='google/flan-t5-large')
|
| 8 |
|
| 9 |
+
|
| 10 |
+
st.title("SQL Query Generator")
|
| 11 |
+
st.write("Returns and runs queries from questions in natural language.")
|
| 12 |
+
|
| 13 |
our_query ="what is india"
|
| 14 |
completion= llm(our_query)
|
| 15 |
print(completion)
|