Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,24 +37,26 @@ chatbot_gradio_app = gr.Interface(
|
|
37 |
title="Chatbot",
|
38 |
)
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
font-family: 'Arial', sans-serif; /* Modern sans-serif font */
|
45 |
-
}
|
46 |
|
47 |
-
.gr-
|
48 |
-
|
49 |
-
}
|
50 |
-
|
51 |
-
.gr-title {
|
52 |
-
color: #004d00; /* Dark green title color */
|
53 |
-
}
|
54 |
"""
|
55 |
|
56 |
-
#
|
57 |
-
|
|
|
58 |
|
59 |
# Combine both interfaces into a single app
|
60 |
gr.TabbedInterface(
|
|
|
37 |
title="Chatbot",
|
38 |
)
|
39 |
|
40 |
+
custom_html = """
|
41 |
+
<style>
|
42 |
+
body {
|
43 |
+
background-color: #00ff00; /* Light green background */
|
44 |
+
font-family: 'Arial', sans-serif; /* Modern sans-serif font */
|
45 |
+
}
|
46 |
|
47 |
+
.gr-tab-title {
|
48 |
+
color: #004d00; /* Dark green title color */
|
49 |
+
}
|
|
|
|
|
50 |
|
51 |
+
.gr-title {
|
52 |
+
color: #004d00; /* Dark green title color */
|
53 |
+
}
|
54 |
+
</style>
|
|
|
|
|
|
|
55 |
"""
|
56 |
|
57 |
+
# Add custom HTML to each Gradio interface
|
58 |
+
image_gradio_app.style(custom_html)
|
59 |
+
chatbot_gradio_app.style(custom_html)
|
60 |
|
61 |
# Combine both interfaces into a single app
|
62 |
gr.TabbedInterface(
|