Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,8 +37,10 @@ of Solent University for the degree of MSc Artificial Intelligence and Data Scie
|
|
| 37 |
|
| 38 |
# Define example images and their true labels for users to choose from
|
| 39 |
example_data = ['AI POPE.jpg']
|
| 40 |
-
custom_css = "
|
| 41 |
-
|
|
|
|
|
|
|
| 42 |
|
| 43 |
gr.Interface(
|
| 44 |
fn=predict_image,
|
|
@@ -48,6 +50,5 @@ gr.Interface(
|
|
| 48 |
description=description_html,
|
| 49 |
allow_flagging='never',
|
| 50 |
examples=example_data,
|
| 51 |
-
theme= theme,
|
| 52 |
css=custom_css
|
| 53 |
).launch()
|
|
|
|
| 37 |
|
| 38 |
# Define example images and their true labels for users to choose from
|
| 39 |
example_data = ['AI POPE.jpg']
|
| 40 |
+
custom_css = """
|
| 41 |
+
div {background-color: black;}
|
| 42 |
+
.title { text-align: center; }
|
| 43 |
+
"""
|
| 44 |
|
| 45 |
gr.Interface(
|
| 46 |
fn=predict_image,
|
|
|
|
| 50 |
description=description_html,
|
| 51 |
allow_flagging='never',
|
| 52 |
examples=example_data,
|
|
|
|
| 53 |
css=custom_css
|
| 54 |
).launch()
|