Spaces:
Sleeping
Sleeping
Madhuri123
commited on
Commit
•
d17f3c6
1
Parent(s):
8ca14f5
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
from PIL import Image
|
|
|
4 |
|
5 |
# Load Hugging Face token
|
6 |
HF_TOKEN = st.secrets["Hf_token"]
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
from PIL import Image
|
4 |
+
import torch
|
5 |
|
6 |
# Load Hugging Face token
|
7 |
HF_TOKEN = st.secrets["Hf_token"]
|