Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,21 +45,15 @@ custom_html = """
|
|
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.
|
59 |
-
chatbot_gradio_app.
|
60 |
-
|
61 |
-
# Combine both interfaces into a single app
|
62 |
-
gr.TabbedInterface(
|
63 |
-
[image_gradio_app, chatbot_gradio_app],
|
64 |
-
tab_names=["image", "chatbot"]
|
65 |
-
).launch()
|
|
|
45 |
}
|
46 |
|
47 |
.gr-tab-title {
|
48 |
+
color: #004d00 !important; /* Dark green title color */
|
49 |
}
|
50 |
|
51 |
.gr-title {
|
52 |
+
color: #004d00 !important; /* Dark green title color */
|
53 |
}
|
54 |
</style>
|
55 |
"""
|
56 |
|
57 |
# Add custom HTML to each Gradio interface
|
58 |
+
image_gradio_app.launch(share=True, debug=True, inline_css=custom_html)
|
59 |
+
chatbot_gradio_app.launch(share=True, debug=True, inline_css=custom_html)
|
|
|
|
|
|
|
|
|
|
|
|