Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,11 @@ import streamlit as st
|
|
3 |
from langchain_community.llms import HuggingFaceHub
|
4 |
|
5 |
|
6 |
-
os.environ["HUGGINGFACEHUB_API_TOKEN"]=
|
7 |
llm =HuggingFaceHub(repo_id='google/flan-t5-large')
|
8 |
|
9 |
our_query ="what is india currency"
|
10 |
completion= llm(our_query)
|
11 |
print(completion)
|
|
|
|
|
|
3 |
from langchain_community.llms import HuggingFaceHub
|
4 |
|
5 |
|
6 |
+
os.environ["HUGGINGFACEHUB_API_TOKEN"]="HUGGINGFACEHUB_API_TOKEN"
|
7 |
llm =HuggingFaceHub(repo_id='google/flan-t5-large')
|
8 |
|
9 |
our_query ="what is india currency"
|
10 |
completion= llm(our_query)
|
11 |
print(completion)
|
12 |
+
|
13 |
+
|