ALVHB95 commited on
Commit
bf69658
1 Parent(s): 0075678
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -171,7 +171,7 @@ chatbot_gradio_app = gr.ChatInterface(
171
  )
172
 
173
  # Banner tab content
174
- banner_tab = """
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],