Increase specificity to prevent gradio styles; Increase logo height

#3
by samayg - opened
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,14 +89,14 @@ def get_query_from_internet(user_query, temperature=0):
89
  chat_history = []
90
  CSS ="""
91
  .contain { display: flex; flex-direction: column; }
92
- .svelte-1ax1toq { display: none; }
93
  #component-0 { height: 100%; }
94
  #chatbot { flex-grow: 1; overflow: auto;}
95
 
96
  """
97
 
98
  with gr.Blocks(theme='samayg/StriimTheme', css=CSS) as demo:
99
- image = gr.Image('striim-logo-light.png', height=47, width=200, show_label=False, show_download_button=False, show_share_button=False)
100
  chatbot = gr.Chatbot(show_label=False, height=300)
101
  msg = gr.Textbox(label="Question:")
102
  examples = gr.Examples(examples=[['What\'s new in Striim version 4.2.0?'], ['My Striim application keeps crashing. What should I do?'], ['How can I improve Striim performance?'], ['It says could not connect to source or target. What should I do?']], inputs=msg, label="Examples")
 
89
  chat_history = []
90
  CSS ="""
91
  .contain { display: flex; flex-direction: column; }
92
+ footer.svelte-1ax1toq.svelte-1ax1toq.svelte-1ax1toq.svelte-1ax1toq { display: none; }
93
  #component-0 { height: 100%; }
94
  #chatbot { flex-grow: 1; overflow: auto;}
95
 
96
  """
97
 
98
  with gr.Blocks(theme='samayg/StriimTheme', css=CSS) as demo:
99
+ image = gr.Image('striim-logo-light.png', height=48, width=200, show_label=False, show_download_button=False, show_share_button=False)
100
  chatbot = gr.Chatbot(show_label=False, height=300)
101
  msg = gr.Textbox(label="Question:")
102
  examples = gr.Examples(examples=[['What\'s new in Striim version 4.2.0?'], ['My Striim application keeps crashing. What should I do?'], ['How can I improve Striim performance?'], ['It says could not connect to source or target. What should I do?']], inputs=msg, label="Examples")