Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,8 @@ 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 |
-
|
|
|
41 |
|
42 |
gr.Interface(
|
43 |
fn=predict_image,
|
@@ -47,5 +48,6 @@ gr.Interface(
|
|
47 |
description=description_html,
|
48 |
allow_flagging='never',
|
49 |
examples=example_data,
|
50 |
-
theme=
|
|
|
51 |
).launch()
|
|
|
37 |
|
38 |
# Define example images and their true labels for users to choose from
|
39 |
example_data = ['AI POPE.jpg']
|
40 |
+
custom_css = ".title { text-align: center; }"
|
41 |
+
theme = "dark"
|
42 |
|
43 |
gr.Interface(
|
44 |
fn=predict_image,
|
|
|
48 |
description=description_html,
|
49 |
allow_flagging='never',
|
50 |
examples=example_data,
|
51 |
+
theme= theme,
|
52 |
+
css=custom_css
|
53 |
).launch()
|