Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,25 +111,17 @@ readme_html = """
|
|
| 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 |
-
title_html
|
| 120 |
<html>
|
| 121 |
<head>
|
| 122 |
-
<
|
| 123 |
-
.description {
|
| 124 |
-
text-align: center; /* Center align the content */
|
| 125 |
-
margin: 20px;
|
| 126 |
-
padding: 10px;
|
| 127 |
-
border: 1px solid #ccc;
|
| 128 |
-
}
|
| 129 |
-
</style>
|
| 130 |
</head>
|
| 131 |
<body>
|
| 132 |
-
<div class="
|
| 133 |
<h1>Tuba Brain Tumor Demo</h1>
|
| 134 |
<p><a href="https://Tuba.ai">Tuba</a></p>
|
| 135 |
<p>Powered by <a href="https://Tuba.ai">Tuba</a></p>
|
|
@@ -140,6 +132,7 @@ title_html = """
|
|
| 140 |
|
| 141 |
|
| 142 |
|
|
|
|
| 143 |
with gr.Blocks() as demo:
|
| 144 |
gr.Markdown(title_html)
|
| 145 |
# Define the input components and add them to the layout
|
|
|
|
| 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 |
</body>
|
| 115 |
</html>
|
| 116 |
"""
|
| 117 |
|
| 118 |
+
title_html = """
|
| 119 |
<html>
|
| 120 |
<head>
|
| 121 |
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
</head>
|
| 123 |
<body>
|
| 124 |
+
<div class="container text-center">
|
| 125 |
<h1>Tuba Brain Tumor Demo</h1>
|
| 126 |
<p><a href="https://Tuba.ai">Tuba</a></p>
|
| 127 |
<p>Powered by <a href="https://Tuba.ai">Tuba</a></p>
|
|
|
|
| 132 |
|
| 133 |
|
| 134 |
|
| 135 |
+
|
| 136 |
with gr.Blocks() as demo:
|
| 137 |
gr.Markdown(title_html)
|
| 138 |
# Define the input components and add them to the layout
|