HassanDataSci commited on
Commit
ac37a92
·
verified ·
1 Parent(s): f64539c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
  from PIL import Image
4
- from langchain.chat_models import ChatGoogleGenerativeAI
 
5
  import os
6
 
7
  # Set up the Google API Key (add this as a secret in Hugging Face Spaces)
 
1
  import streamlit as st
2
  from transformers import pipeline
3
  from PIL import Image
4
+ from langchain_community.chat_models import ChatGoogleGenerativeAI
5
+ from langchain_community.llms import HuggingFacePipeline
6
  import os
7
 
8
  # Set up the Google API Key (add this as a secret in Hugging Face Spaces)