rohitdiwane commited on
Commit
364fbf2
·
verified ·
1 Parent(s): 69e6f95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
2
  # from langchain import HuggingFaceHub
3
- from langchain import PromptTemplate, LLMChain
 
 
4
  from langchain_community.llms import HuggingFaceHub
5
 
6
  def generate_trip_plan(question):
 
1
  import gradio as gr
2
  # from langchain import HuggingFaceHub
3
+ # from langchain import PromptTemplate, LLMChain
4
+ from langchain.chains import LLMChain
5
+ from langchain.prompts import PromptTemplate
6
  from langchain_community.llms import HuggingFaceHub
7
 
8
  def generate_trip_plan(question):