Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,26 @@ chatbot_gradio_app = gr.Interface(
|
|
38 |
)
|
39 |
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
# Combine both interfaces into a single app
|
42 |
gr.TabbedInterface(
|
43 |
[image_gradio_app, chatbot_gradio_app],
|
44 |
-
tab_names=["image","chatbot"]
|
45 |
).launch()
|
|
|
38 |
)
|
39 |
|
40 |
|
41 |
+
custom_css = """
|
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 |
+
"""
|
55 |
+
|
56 |
+
# Apply custom CSS to the Gradio app
|
57 |
+
gr.set_css(custom_css)
|
58 |
+
|
59 |
# Combine both interfaces into a single app
|
60 |
gr.TabbedInterface(
|
61 |
[image_gradio_app, chatbot_gradio_app],
|
62 |
+
tab_names=["image", "chatbot"]
|
63 |
).launch()
|