Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -187,15 +187,15 @@ def predict_beetle(img):
|
|
187 |
|
188 |
|
189 |
# gradio app
|
190 |
-
css = """
|
191 |
-
button {
|
192 |
-
|
193 |
-
}
|
194 |
-
"""
|
195 |
-
|
196 |
-
with gr.Blocks(
|
197 |
-
gr.Markdown("<h1><center>Bark Beetle
|
198 |
-
gr.Markdown("<h3><center>Note this instance of the classifier is for demonstration only and runs on CPU, not on GPU. If you are interested in testing the model, contact us, and we will switch it to its full capacity in an instant.<h3><center>")
|
199 |
with gr.Column(variant="panel"):
|
200 |
with gr.Row(variant="compact"):
|
201 |
inputs = gr.Image()
|
|
|
187 |
|
188 |
|
189 |
# gradio app
|
190 |
+
# css = """
|
191 |
+
# button {
|
192 |
+
# width: auto; /* Set your desired width */
|
193 |
+
# }
|
194 |
+
# """
|
195 |
+
|
196 |
+
with gr.Blocks() as demo:
|
197 |
+
gr.Markdown("<h1><center>Intelligent Bark Beetle Identification<h1><center>")
|
198 |
+
# gr.Markdown("<h3><center>Note this instance of the classifier is for demonstration only and runs on CPU, not on GPU. If you are interested in testing the model, contact us, and we will switch it to its full capacity in an instant.<h3><center>")
|
199 |
with gr.Column(variant="panel"):
|
200 |
with gr.Row(variant="compact"):
|
201 |
inputs = gr.Image()
|