Tweaking texts
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ css = """
|
|
122 |
width: 800px !important;
|
123 |
}
|
124 |
"""
|
125 |
-
TITLE = "Aircraft detection
|
126 |
|
127 |
# Define the Gradio Interface
|
128 |
demo = gr.Blocks(title=TITLE, css=css).queue()
|
@@ -153,25 +153,10 @@ with demo:
|
|
153 |
label='Try these images!'
|
154 |
)
|
155 |
|
156 |
-
gr.Markdown("<p>This demo is provided by <a href='https://www.linkedin.com/in/faudi/'>Jeff Faudi</a> and <a href='https://www.dl4eo.com/'>DL4EO</a>. The model has been trained with the <a href='https://www.ultralytics.com/yolo'>Ultralytics YOLOv8</a> framework on the <a href='https://www.cosmiqworks.org/rareplanes/'>RarePlanes</a>, <a href='https://www.kaggle.com/datasets/airbusgeo/airbus-aircrafts-sample-dataset'>Airbus</a> and <a href='https://github.com/dilsadunsal/HRPlanesv2-Data-Set'>HRPlanesv2</a> datasets. The associated licenses are <a href='https://about.google/brand-resource-center/products-and-services/geo-guidelines/#google-earth-web-and-apps'>GoogleEarth fair use</a> and <a href='https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en'>CC-BY-SA-NC</a>. This demonstration CANNOT be used for commercial puposes. Please contact <a href='mailto:jeff@dl4eo.com'>me</a> for more information on how you could get access to a commercial grade model or API. </p>")
|
157 |
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
demo.launch(
|
165 |
-
server_name=hostname,
|
166 |
-
inline=False,
|
167 |
-
server_port=7860,
|
168 |
-
debug=True
|
169 |
-
)
|
170 |
-
else:
|
171 |
-
print('Not running inside a Docker container')
|
172 |
-
demo.launch(
|
173 |
-
inline=False,
|
174 |
-
#server_port=7860,
|
175 |
-
show_api=False,
|
176 |
-
debug=False
|
177 |
-
)
|
|
|
122 |
width: 800px !important;
|
123 |
}
|
124 |
"""
|
125 |
+
TITLE = "Aircraft detection on optical satellite images"
|
126 |
|
127 |
# Define the Gradio Interface
|
128 |
demo = gr.Blocks(title=TITLE, css=css).queue()
|
|
|
153 |
label='Try these images!'
|
154 |
)
|
155 |
|
156 |
+
gr.Markdown("<p>This demo is provided by <a href='https://www.linkedin.com/in/faudi/'>Jeff Faudi</a> and <a href='https://www.dl4eo.com/'>DL4EO</a>. The demonstration images are Pléiades images provided by CNES with distribution by Airbus DS. The model has been trained with the <a href='https://www.ultralytics.com/yolo'>Ultralytics YOLOv8</a> framework on the <a href='https://www.cosmiqworks.org/rareplanes/'>RarePlanes</a>, <a href='https://www.kaggle.com/datasets/airbusgeo/airbus-aircrafts-sample-dataset'>Airbus</a> and <a href='https://github.com/dilsadunsal/HRPlanesv2-Data-Set'>HRPlanesv2</a> datasets. The associated licenses are <a href='https://about.google/brand-resource-center/products-and-services/geo-guidelines/#google-earth-web-and-apps'>GoogleEarth fair use</a> and <a href='https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en'>CC-BY-SA-NC</a>. This demonstration CANNOT be used for commercial puposes. Please contact <a href='mailto:jeff@dl4eo.com'>me</a> for more information on how you could get access to a commercial grade model or API. </p>")
|
157 |
|
158 |
+
demo.launch(
|
159 |
+
inline=False,
|
160 |
+
show_api=False,
|
161 |
+
debug=False
|
162 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|