Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,17 +68,40 @@ outputs = gr.Image(type="numpy", label="Output Image")
|
|
| 68 |
|
| 69 |
# Define the text description within an HTML <div> element
|
| 70 |
description_html = """
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
# Launch the Gradio interface with the description below it
|
| 84 |
gr.Interface(
|
|
|
|
| 68 |
|
| 69 |
# Define the text description within an HTML <div> element
|
| 70 |
description_html = """
|
| 71 |
+
<html>
|
| 72 |
+
<head>
|
| 73 |
+
<style>
|
| 74 |
+
.description {
|
| 75 |
+
margin: 20px;
|
| 76 |
+
padding: 10px;
|
| 77 |
+
border: 1px solid #ccc;
|
| 78 |
+
}
|
| 79 |
+
</style>
|
| 80 |
+
</head>
|
| 81 |
+
<body>
|
| 82 |
+
<div class="description">
|
| 83 |
+
<p><strong>Description:</strong></p>
|
| 84 |
+
<p>We present a demo for performing object segmentation with training a Yolov8-seg on wheel Image dataset. The model was trained on 696 training images and validated on 199 images.</p>
|
| 85 |
+
<p><strong>Usage:</strong></p>
|
| 86 |
+
<p>You can upload wheel Image images, and the demo will provide you with your segmented image.</p>
|
| 87 |
+
<p><strong>Dataset:</strong></p>
|
| 88 |
+
<p>This dataset comprises a total of 994 images, which are divided into three distinct sets for various purposes:</p>
|
| 89 |
+
<ul>
|
| 90 |
+
<li><strong>Training Set:</strong> It includes 696 images and is intended for training the model.</li>
|
| 91 |
+
<li><strong>Validation Set:</strong> There are 199 images in the validation set, which is used for optimizing model parameters during development.</li>
|
| 92 |
+
<li><strong>Test Set:</strong> This set consists of 99 images and serves as a separate evaluation dataset to assess the performance of trained models.</li>
|
| 93 |
+
</ul>
|
| 94 |
+
<p><strong>License:</strong> This dataset is made available under the Creative Commons Attribution 4.0 International License (CC BY 4.0).</p>
|
| 95 |
+
<p>To access and download this dataset, please follow this link: <a href="https://universe.roboflow.com/project-wce7s/1000_seg_wheel" target="_blank">Dataset Download</a></p>
|
| 96 |
+
<p><strong>Download Dataset:</strong></p>
|
| 97 |
+
<p>To download the dataset we used, you can use the following command in colab:</p>
|
| 98 |
+
<pre>!wget https://universe.roboflow.com/ds/OPPOJjnJPs?key=5yzDMD610e</pre>
|
| 99 |
+
<p>Feel free to explore and use this repository for your object segmentation needs. If you have any questions or need assistance, please don't hesitate to reach out.</p>
|
| 100 |
+
</div>
|
| 101 |
+
</body>
|
| 102 |
+
</html>
|
| 103 |
+
"""
|
| 104 |
+
|
| 105 |
|
| 106 |
# Launch the Gradio interface with the description below it
|
| 107 |
gr.Interface(
|