Spaces:
Sleeping
Sleeping
HassanDataSci
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
from PIL import Image
|
4 |
-
from
|
|
|
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)
|