TIMBOVILL commited on
Commit
751e565
·
verified ·
1 Parent(s): 22b8032

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -50,7 +50,7 @@ additional_inputs = [
50
 
51
  theme = gr.themes.Base(
52
  neutral_hue=gr.themes.Color(c100="#f3f4f6", c200="#e5e7eb", c300="#d1d5db", c400="#9ca3af", c50="#f9fafb", c500="#6b7280", c600="#4b5563", c700="#3c83f5", c800="#000000", c900="#26252a", c950="#000000"),
53
- text_size="md",
54
  radius_size="lg",
55
  font=['system-ui', 'ui-sans-serif', 'system-ui', 'sans-serif'],
56
  ).set(
@@ -70,10 +70,14 @@ theme = gr.themes.Base(
70
  input_radius='*radius_xxl'
71
  )
72
 
 
 
 
73
  gr.ChatInterface(
74
  fn=generate_response,
75
- chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=False, likeable=False, layout="bubble"),
76
  additional_inputs=additional_inputs,
77
  title="TIMBOVILL",
 
78
  theme=theme
79
- ).launch()
 
50
 
51
  theme = gr.themes.Base(
52
  neutral_hue=gr.themes.Color(c100="#f3f4f6", c200="#e5e7eb", c300="#d1d5db", c400="#9ca3af", c50="#f9fafb", c500="#6b7280", c600="#4b5563", c700="#3c83f5", c800="#000000", c900="#26252a", c950="#000000"),
53
+ text_size="lg",
54
  radius_size="lg",
55
  font=['system-ui', 'ui-sans-serif', 'system-ui', 'sans-serif'],
56
  ).set(
 
70
  input_radius='*radius_xxl'
71
  )
72
 
73
+ with open('top_bar.html', 'r') as file:
74
+ top_bar_html = file.read()
75
+
76
  gr.ChatInterface(
77
  fn=generate_response,
78
+ chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="bubble"),
79
  additional_inputs=additional_inputs,
80
  title="TIMBOVILL",
81
+ description="test",
82
  theme=theme
83
+ ).launch(components=[gr.HTML(top_bar_html)])