Spaces:
Sleeping
Sleeping
app1
Browse files
app.py
CHANGED
@@ -171,7 +171,7 @@ chatbot_gradio_app = gr.ChatInterface(
|
|
171 |
)
|
172 |
|
173 |
# Banner tab content
|
174 |
-
|
175 |
<div style="background-color: #d3e3c3; text-align: center; padding: 20px; display: flex; flex-direction: column; align-items: center;">
|
176 |
<img src="https://huggingface.co/spaces/rocioadlc/test_4/resolve/main/front_4.jpg" alt="Banner Image" style="width: 50%; max-width: 500px; margin: 0 auto;">
|
177 |
|
@@ -222,7 +222,7 @@ banner_tab = """
|
|
222 |
}
|
223 |
</script>
|
224 |
"""
|
225 |
-
|
226 |
# Combine interfaces into a single app
|
227 |
app = gr.TabbedInterface(
|
228 |
[banner_tab, image_gradio_app, chatbot_gradio_app],
|
|
|
171 |
)
|
172 |
|
173 |
# Banner tab content
|
174 |
+
banner_tab_content = """
|
175 |
<div style="background-color: #d3e3c3; text-align: center; padding: 20px; display: flex; flex-direction: column; align-items: center;">
|
176 |
<img src="https://huggingface.co/spaces/rocioadlc/test_4/resolve/main/front_4.jpg" alt="Banner Image" style="width: 50%; max-width: 500px; margin: 0 auto;">
|
177 |
|
|
|
222 |
}
|
223 |
</script>
|
224 |
"""
|
225 |
+
banner_tab = gr.Markdown(banner_tab_content)
|
226 |
# Combine interfaces into a single app
|
227 |
app = gr.TabbedInterface(
|
228 |
[banner_tab, image_gradio_app, chatbot_gradio_app],
|