Spaces:
Sleeping
Sleeping
File size: 253 Bytes
f8fab45 8fb4d0a 2b058ad f8fab45 9ed468a c652815 f8fab45 8fba1c2 f8fab45 ef46c9f d39b109 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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')
our_query ="what is india"
completion= llm(our_query)
print(completion)
|