sergey21000 commited on
Commit
814326d
1 Parent(s): eee722e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -157,18 +157,12 @@ GENERATE_KWARGS = dict(
157
  repeat_penalty=1.0,
158
  )
159
 
160
- theme = gr.themes.Base(primary_hue='green', secondary_hue='yellow', neutral_hue='zinc').set(
161
- loader_color='rgb(0, 255, 0)',
162
- slider_color='rgb(0, 200, 0)',
163
- body_text_color_dark='rgb(0, 200, 0)',
164
- button_secondary_background_fill_dark='green',
165
- )
166
- css = '''.gradio-container {width: 60% !important}'''
167
-
168
 
169
  # ================== INTERFACE =============================
170
 
171
- with gr.Blocks(theme=theme, css=css) as interface:
 
 
172
  model_dict = gr.State(start_model_dict)
173
  support_system_role = gr.State(start_support_system_role)
174
 
 
157
  repeat_penalty=1.0,
158
  )
159
 
 
 
 
 
 
 
 
 
160
 
161
  # ================== INTERFACE =============================
162
 
163
+ css = '''.gradio-container {width: 60% !important}'''
164
+
165
+ with gr.Blocks(css=css) as interface:
166
  model_dict = gr.State(start_model_dict)
167
  support_system_role = gr.State(start_support_system_role)
168