angela2882 commited on
Commit
92dbec2
·
verified ·
1 Parent(s): 2962f70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -122,7 +122,15 @@ topics = """
122
  - Waste management
123
  - Beach cleanups
124
  """
125
-
 
 
 
 
 
 
 
 
126
  # Setup the Gradio Blocks interface with custom layout components
127
  with gr.Blocks(theme = theme ) as demo:
128
  gr.Markdown(welcome_message) # Display the formatted welcome message
@@ -136,15 +144,6 @@ with gr.Blocks(theme = theme ) as demo:
136
  submit_button = gr.Button("Submit")
137
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
138
 
139
- theme = gr.themes.Monochrome(
140
- primary_hue = "blue", secondary_hue = "gray"
141
- ).set(
142
- background_fill_primary = 'primary_200',
143
- background_fill_primary_dark = 'primary_200',
144
- border_color_accent = 'secondary_200',
145
- body_text_color = 'white'
146
-
147
- )
148
 
149
 
150
 
 
122
  - Waste management
123
  - Beach cleanups
124
  """
125
+ theme = gr.themes.Monochrome(
126
+ primary_hue = "blue", secondary_hue = "gray"
127
+ ).set(
128
+ background_fill_primary = 'primary_200',
129
+ background_fill_primary_dark = 'primary_200',
130
+ border_color_accent = 'secondary_200',
131
+ body_text_color = 'white'
132
+
133
+ )
134
  # Setup the Gradio Blocks interface with custom layout components
135
  with gr.Blocks(theme = theme ) as demo:
136
  gr.Markdown(welcome_message) # Display the formatted welcome message
 
144
  submit_button = gr.Button("Submit")
145
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
146
 
 
 
 
 
 
 
 
 
 
147
 
148
 
149