Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ readme_html = """
|
|
96 |
</head>
|
97 |
<body>
|
98 |
<div class="description">
|
99 |
-
<p><strong>
|
100 |
<p>We present a demo for performing object segmentation with training a Yolov8-seg on Brain tumor dataset. The model was trained on 236 training images and validated on 28 images.</p>
|
101 |
<p><strong>Usage:</strong></p>
|
102 |
<p>You can upload Brain tumor images, and the demo will provide you with your segmented image.</p>
|
@@ -109,24 +109,24 @@ readme_html = """
|
|
109 |
</ul>
|
110 |
<p><strong>License:</strong> This dataset is made available under the Creative Commons Attribution 4.0 International License (CC BY 4.0).</p>
|
111 |
<p>To access and download this dataset, please follow this link: <a href="https://universe.roboflow.com/detection-qskiw/segmnetation" target="_blank">Dataset Download</a></p>
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
<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>
|
116 |
-
</div>
|
117 |
</body>
|
118 |
</html>
|
119 |
"""
|
120 |
|
121 |
|
122 |
|
|
|
123 |
with gr.Blocks() as demo:
|
124 |
gr.Markdown(
|
125 |
"""
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
|
|
130 |
)
|
131 |
# Define the input components and add them to the layout
|
132 |
with gr.Row():
|
|
|
96 |
</head>
|
97 |
<body>
|
98 |
<div class="description">
|
99 |
+
<p><strong>More details:</strong></p>
|
100 |
<p>We present a demo for performing object segmentation with training a Yolov8-seg on Brain tumor dataset. The model was trained on 236 training images and validated on 28 images.</p>
|
101 |
<p><strong>Usage:</strong></p>
|
102 |
<p>You can upload Brain tumor images, and the demo will provide you with your segmented image.</p>
|
|
|
109 |
</ul>
|
110 |
<p><strong>License:</strong> This dataset is made available under the Creative Commons Attribution 4.0 International License (CC BY 4.0).</p>
|
111 |
<p>To access and download this dataset, please follow this link: <a href="https://universe.roboflow.com/detection-qskiw/segmnetation" target="_blank">Dataset Download</a></p>
|
112 |
+
|
113 |
+
|
114 |
+
</div>
|
|
|
|
|
115 |
</body>
|
116 |
</html>
|
117 |
"""
|
118 |
|
119 |
|
120 |
|
121 |
+
|
122 |
with gr.Blocks() as demo:
|
123 |
gr.Markdown(
|
124 |
"""
|
125 |
+
<div style="text-align: center;">
|
126 |
+
<h1>Tuba Brain Tumor Demo</h1>
|
127 |
+
<p><a href="https://Tuba.ai">Tuba</a></p>
|
128 |
+
</div>
|
129 |
+
"""
|
130 |
)
|
131 |
# Define the input components and add them to the layout
|
132 |
with gr.Row():
|