legolasyiu commited on
Commit
68e39cc
1 Parent(s): cac4217

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from langchain_openai import ChatOpenAI
4
  from gradio import ChatMessage
5
  import gradio as gr
6
  import os
 
7
 
8
  from langchain_community.llms import HuggingFaceEndpoint
9
  from langchain_community.chat_models.huggingface import ChatHuggingFace
 
4
  from gradio import ChatMessage
5
  import gradio as gr
6
  import os
7
+ from langchain_huggingface import ChatHuggingFace, HuggingFacePipeline
8
 
9
  from langchain_community.llms import HuggingFaceEndpoint
10
  from langchain_community.chat_models.huggingface import ChatHuggingFace