tanya-a8 commited on
Commit
78b75b3
·
verified ·
1 Parent(s): 1206b4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -46,8 +46,8 @@ def get_relevant_context(query, top_k=3):
46
 
47
  custom_theme = gr.themes.Soft(
48
  primary_hue="cyan", # lighter, fresher than teal
49
- secondary_hue="warmGray", # softer neutral than stone
50
- neutral_hue="blueGray", # light neutral gray-blue tint
51
  spacing_size="md", # slightly smaller for balanced white space
52
  radius_size="md", # medium rounded corners for a modern look
53
  text_size="md", # slightly smaller text for crispness
@@ -93,7 +93,7 @@ def respond(message, history):
93
  response += token # Add it to the response
94
  yield response # yield the response:
95
 
96
- with gr.Blocks(theme=custom_theme) as chatbot:
97
  gr.Image(
98
  value="Banner.png",
99
  show_label=False,
@@ -110,7 +110,7 @@ with gr.Blocks(theme=custom_theme) as chatbot:
110
 
111
 
112
 
113
- chatbot.launch()
114
 
115
  #build on your original chatbot from the previous lesson
116
  #a basic chatbot from the previous lesson is below -- edit it to incorporate the changes described above
 
46
 
47
  custom_theme = gr.themes.Soft(
48
  primary_hue="cyan", # lighter, fresher than teal
49
+ secondary_hue="stone", # softer neutral than stone
50
+ neutral_hue="gray", # light neutral gray-blue tint
51
  spacing_size="md", # slightly smaller for balanced white space
52
  radius_size="md", # medium rounded corners for a modern look
53
  text_size="md", # slightly smaller text for crispness
 
93
  response += token # Add it to the response
94
  yield response # yield the response:
95
 
96
+ with gr.Blocks(theme=custom_theme) as demo:
97
  gr.Image(
98
  value="Banner.png",
99
  show_label=False,
 
110
 
111
 
112
 
113
+ demo.launch()
114
 
115
  #build on your original chatbot from the previous lesson
116
  #a basic chatbot from the previous lesson is below -- edit it to incorporate the changes described above