Update app.py
Browse files
app.py
CHANGED
@@ -41,12 +41,6 @@ def classify_image(image):
|
|
41 |
title = "Automated Classification of Pneumonia and Tuberculosis using Machine Learning"
|
42 |
description = "Upload your lungs Radiograph to find out if you are having Pneumonia or Tuberculosis"
|
43 |
|
44 |
-
custom_theme = gr.themes.Theme(
|
45 |
-
text_color="blue", # Adjust font color (optional)
|
46 |
-
font_family="Arial", # Adjust font family (optional)
|
47 |
-
# Other theme customization options here
|
48 |
-
)
|
49 |
-
|
50 |
css_code = ".gradio-container {background: url(https://antibiotikumnelkul.hu/app/uploads/2019/10/AdobeStock_220059159-1024x683.jpeg); background-size: cover;}"
|
51 |
|
52 |
# Create Gradio interface
|
@@ -55,8 +49,7 @@ iface = gr.Interface(fn=classify_image,
|
|
55 |
outputs=gr.Label(),
|
56 |
title=title,
|
57 |
description=description,
|
58 |
-
css=css_code
|
59 |
-
theme=custom_theme
|
60 |
)
|
61 |
|
62 |
# Launch the app
|
|
|
41 |
title = "Automated Classification of Pneumonia and Tuberculosis using Machine Learning"
|
42 |
description = "Upload your lungs Radiograph to find out if you are having Pneumonia or Tuberculosis"
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
css_code = ".gradio-container {background: url(https://antibiotikumnelkul.hu/app/uploads/2019/10/AdobeStock_220059159-1024x683.jpeg); background-size: cover;}"
|
45 |
|
46 |
# Create Gradio interface
|
|
|
49 |
outputs=gr.Label(),
|
50 |
title=title,
|
51 |
description=description,
|
52 |
+
css=css_code
|
|
|
53 |
)
|
54 |
|
55 |
# Launch the app
|