Spaces:
Sleeping
Sleeping
Commit
·
02205c4
1
Parent(s):
85ebec1
Update app.py
Browse files
app.py
CHANGED
@@ -5,14 +5,14 @@ from langchain.llms import HuggingFaceHub
|
|
5 |
|
6 |
#Function to return the response
|
7 |
def load_answer(question):
|
8 |
-
llm = HuggingFaceHub(repo_id="google/flan-t5-large"
|
9 |
answer=llm(question)
|
10 |
return answer
|
11 |
|
12 |
|
13 |
#App UI starts here
|
14 |
st.set_page_config(page_title="GloriaGPT", page_icon=":robot:")
|
15 |
-
st.header("GloriaGPT
|
16 |
|
17 |
#Gets the user input
|
18 |
def get_text():
|
|
|
5 |
|
6 |
#Function to return the response
|
7 |
def load_answer(question):
|
8 |
+
llm = HuggingFaceHub(repo_id="google/flan-t5-large")
|
9 |
answer=llm(question)
|
10 |
return answer
|
11 |
|
12 |
|
13 |
#App UI starts here
|
14 |
st.set_page_config(page_title="GloriaGPT", page_icon=":robot:")
|
15 |
+
st.header("GloriaGPT")
|
16 |
|
17 |
#Gets the user input
|
18 |
def get_text():
|