Spaces:
Sleeping
Sleeping
Update pages/image_analysis.py
Browse files- pages/image_analysis.py +48 -2
pages/image_analysis.py
CHANGED
|
@@ -1,4 +1,50 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
import streamlit as st
|
| 3 |
from transformers import pipeline
|
| 4 |
from PIL import Image
|
|
@@ -178,4 +224,4 @@ else:
|
|
| 178 |
|
| 179 |
st.markdown("---")
|
| 180 |
if st.button("⬅ Back to Chat Assistant"):
|
| 181 |
-
st.switch_page("app.py")
|
|
|
|
| 1 |
+
Hugging Face's logo
|
| 2 |
+
Hugging Face
|
| 3 |
+
Models
|
| 4 |
+
Datasets
|
| 5 |
+
Spaces
|
| 6 |
+
Community
|
| 7 |
+
Docs
|
| 8 |
+
Pricing
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
Hugging Face is way more fun with friends and colleagues! 🤗 Join an organization
|
| 13 |
+
Spaces:
|
| 14 |
+
|
| 15 |
+
ZoyaRabail
|
| 16 |
+
/
|
| 17 |
+
ai_disaster_project
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
like
|
| 21 |
+
0
|
| 22 |
+
|
| 23 |
+
App
|
| 24 |
+
Files
|
| 25 |
+
Community
|
| 26 |
+
Settings
|
| 27 |
+
ai_disaster_project
|
| 28 |
+
/
|
| 29 |
+
pages
|
| 30 |
+
/
|
| 31 |
+
image_analysis.py
|
| 32 |
+
|
| 33 |
+
ZoyaRabail's picture
|
| 34 |
+
ZoyaRabail
|
| 35 |
+
Create pages/image_analysis.py
|
| 36 |
+
cc54ca7
|
| 37 |
+
verified
|
| 38 |
+
about 15 hours ago
|
| 39 |
+
raw
|
| 40 |
+
|
| 41 |
+
Copy download link
|
| 42 |
+
history
|
| 43 |
+
blame
|
| 44 |
+
edit
|
| 45 |
+
delete
|
| 46 |
+
|
| 47 |
+
6.04 kB
|
| 48 |
import streamlit as st
|
| 49 |
from transformers import pipeline
|
| 50 |
from PIL import Image
|
|
|
|
| 224 |
|
| 225 |
st.markdown("---")
|
| 226 |
if st.button("⬅ Back to Chat Assistant"):
|
| 227 |
+
st.switch_page("app.py")
|