Atharv Subhekar
commited on
Commit
·
294cf3a
1
Parent(s):
b877913
Application update
Browse files
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
app.py
CHANGED
|
@@ -22,7 +22,6 @@ import os
|
|
| 22 |
|
| 23 |
from langchain_community.document_loaders import TextLoader
|
| 24 |
from langchain_community.vectorstores import FAISS
|
| 25 |
-
from langchain_community.embeddings import HuggingFaceEmbeddings
|
| 26 |
from langchain.text_splitter import CharacterTextSplitter
|
| 27 |
from langchain_core.output_parsers import StrOutputParser
|
| 28 |
from langchain_core.runnables import RunnablePassthrough
|
|
@@ -145,6 +144,6 @@ title = "Satellite Image Landscape Analysis for Deforestation"
|
|
| 145 |
description = "This bot will take any satellite image and analyze the factors which lead to deforestation by identify the landscape based on forest areas, roads, habitation, water etc."
|
| 146 |
app = gr.Interface(fn=main, inputs="image", outputs="text", title=title,
|
| 147 |
description=description,
|
| 148 |
-
examples=[["sample_images/train_142.jpg"], ["sample_images/train_32.jpg"],["sample_images/train_59.jpg"], ["sample_images/train_67.jpg"],["sample_images/train_75.jpg"],["sample_images/train_92.jpg"],["sample_images/random_satellite.
|
| 149 |
app.launch(share = True)
|
| 150 |
|
|
|
|
| 22 |
|
| 23 |
from langchain_community.document_loaders import TextLoader
|
| 24 |
from langchain_community.vectorstores import FAISS
|
|
|
|
| 25 |
from langchain.text_splitter import CharacterTextSplitter
|
| 26 |
from langchain_core.output_parsers import StrOutputParser
|
| 27 |
from langchain_core.runnables import RunnablePassthrough
|
|
|
|
| 144 |
description = "This bot will take any satellite image and analyze the factors which lead to deforestation by identify the landscape based on forest areas, roads, habitation, water etc."
|
| 145 |
app = gr.Interface(fn=main, inputs="image", outputs="text", title=title,
|
| 146 |
description=description,
|
| 147 |
+
examples=[["sample_images/train_142.jpg"], ["sample_images/train_32.jpg"],["sample_images/train_59.jpg"], ["sample_images/train_67.jpg"],["sample_images/train_75.jpg"],["sample_images/train_92.jpg"],["sample_images/random_satellite.png"]])
|
| 148 |
app.launch(share = True)
|
| 149 |
|
sample_images/{Screenshot 2024-06-28 at 1.35.57 PM.png → random_satellite.png}
RENAMED
|
File without changes
|