Ali2206 commited on
Commit
15ff01f
·
verified ·
1 Parent(s): 3804c65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -190,13 +190,16 @@ def process_report(agent, file, messages: List[Dict[str, str]]) -> Tuple[List[Di
190
 
191
  def create_ui(agent):
192
  with gr.Blocks(css="""
193
- html, body, .gradio-container {background: #0e1621; color: #e0e0e0;}
 
 
194
  .gr-button-primary {
195
- background: linear-gradient(to bottom, #1e88e5, #0d47a1) !important;
196
- border: none !important;
 
197
  }
198
  .gr-button-primary:hover {
199
- background: linear-gradient(to bottom, #2196f3, #1565c0) !important;
200
  }
201
  """) as demo:
202
  gr.Markdown("""
@@ -222,4 +225,4 @@ def create_ui(agent):
222
  if __name__ == "__main__":
223
  agent = init_agent()
224
  ui = create_ui(agent)
225
- ui.launch(server_name="0.0.0.0", server_port=7860, allowed_paths=["/data/hf_cache/reports"], share=False)
 
190
 
191
  def create_ui(agent):
192
  with gr.Blocks(css="""
193
+ html, body, .gradio-container {
194
+ background: #0e1621; color: #e0e0e0;
195
+ }
196
  .gr-button-primary {
197
+ background: linear-gradient(to right, #2196f3, #1e88e5) !important;
198
+ border: 1px solid #1e88e5 !important;
199
+ color: white !important;
200
  }
201
  .gr-button-primary:hover {
202
+ background: linear-gradient(to right, #42a5f5, #1976d2) !important;
203
  }
204
  """) as demo:
205
  gr.Markdown("""
 
225
  if __name__ == "__main__":
226
  agent = init_agent()
227
  ui = create_ui(agent)
228
+ ui.launch(server_name="0.0.0.0", server_port=7860, allowed_paths=["/data/hf_cache/reports"], share=False)