paloma99 commited on
Commit
7a28908
·
verified ·
1 Parent(s): d4213f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -86,16 +86,17 @@ banner_tab_content = """
86
  """
87
  banner_tab = gr.Markdown(banner_tab_content)
88
 
89
- banner_tab_title = "<span style='color: rgb(243, 239, 224);'>Welcome to Green Greta</span>"
90
- image_class_title = "<span style='color: rgb(243, 239, 224);'>Green Greta Image Classification</span>"
91
- chatbot_title = "<span style='color: rgb(243, 239, 224);'>Green Greta Chat</span>"
92
-
 
93
 
94
 
95
  # Combine interfaces into a single app
96
  app = gr.TabbedInterface(
97
  [banner_tab, image_gradio_app, chatbot_gradio_app],
98
- tab_names=[banner_tab_title, image_class_title, chatbot_title],
99
  theme=theme
100
  )
101
 
 
86
  """
87
  banner_tab = gr.Markdown(banner_tab_content)
88
 
89
+ custom_tab_names = [
90
+ "<span style='color: rgb(243, 239, 224);'>Welcome to Green Greta</span>",
91
+ "<span style='color: rgb(243, 239, 224);'>Green Greta Image Classification</span>",
92
+ "<span style='color: rgb(243, 239, 224);'>Green Greta Chat</span>"
93
+ ]
94
 
95
 
96
  # Combine interfaces into a single app
97
  app = gr.TabbedInterface(
98
  [banner_tab, image_gradio_app, chatbot_gradio_app],
99
+ tab_names=custom_tab_names,
100
  theme=theme
101
  )
102