Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,18 +116,32 @@ readme_html = """
|
|
| 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():
|
| 133 |
image_input = gr.inputs.Image()
|
|
|
|
| 116 |
</html>
|
| 117 |
"""
|
| 118 |
|
| 119 |
+
title_html = """
|
| 120 |
+
<html>
|
| 121 |
+
<head>
|
| 122 |
+
<style>
|
| 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="description">
|
| 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>
|
| 136 |
+
</div>
|
| 137 |
+
</body>
|
| 138 |
+
</html>
|
| 139 |
+
"""
|
| 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
|
| 146 |
with gr.Row():
|
| 147 |
image_input = gr.inputs.Image()
|