File size: 287 Bytes
f8fab45
8fb4d0a
2b058ad
f8fab45
 
 
c652815
f8fab45
 
 
ef46c9f
1
2
3
4
5
6
7
8
9
10
11
12
import os
import streamlit as st
from langchain_community.llms import HuggingFaceHub


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

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