Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ from langchain.chains import LLMChain
|
|
2 |
from langchain.llms import HuggingFaceHub
|
3 |
from langchain.prompts import PromptTemplate
|
4 |
import streamlit as st
|
5 |
-
HUGGINGFACEHUB_API_TOKEN = st.secrets("HUGGINGFACEHUB_API_TOKEN")
|
6 |
|
7 |
topic = st.text_input("Enter Topic for the bog")
|
8 |
hub_llm = HuggingFaceHub(repo_id ="HuggingFaceH4/zephyr-7b-beta")
|
|
|
2 |
from langchain.llms import HuggingFaceHub
|
3 |
from langchain.prompts import PromptTemplate
|
4 |
import streamlit as st
|
|
|
5 |
|
6 |
topic = st.text_input("Enter Topic for the bog")
|
7 |
hub_llm = HuggingFaceHub(repo_id ="HuggingFaceH4/zephyr-7b-beta")
|