ECUiVADE commited on
Commit
691313f
1 Parent(s): 1805827

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -61,11 +61,6 @@ class ChatbotAPP:
61
  self.service = self.get_drive_service() # Google Drive service instance
62
  self.app = self.create_app() # Gradio app instance
63
  self.chat_log_name = "" # Filename for the chat log
64
- self.css = css = """
65
- body { background-color: #f0f0f0; }
66
- button { background-color: #4CAF50; color: white; padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; }
67
- button:hover { opacity: 0.8; }
68
- """
69
 
70
 
71
  # Method to create Google Drive service instance
@@ -236,7 +231,7 @@ class ChatbotAPP:
236
 
237
  def create_app(self): # Method to launch the Gradio app
238
 
239
- with gr.Blocks(css=self.css) as app:
240
  gr.Markdown("# ECU-IVADE: Conversational AI Model for Aggressive Patient Behavior (Beta Testing)")
241
  unique_id_display = gr.Textbox(value=self.unique_id, label="Session Unique ID", interactive=False,show_copy_button = True)
242
 
 
61
  self.service = self.get_drive_service() # Google Drive service instance
62
  self.app = self.create_app() # Gradio app instance
63
  self.chat_log_name = "" # Filename for the chat log
 
 
 
 
 
64
 
65
 
66
  # Method to create Google Drive service instance
 
231
 
232
  def create_app(self): # Method to launch the Gradio app
233
 
234
+ with gr.Blocks(theme=gr.themes.Soft()) as app:
235
  gr.Markdown("# ECU-IVADE: Conversational AI Model for Aggressive Patient Behavior (Beta Testing)")
236
  unique_id_display = gr.Textbox(value=self.unique_id, label="Session Unique ID", interactive=False,show_copy_button = True)
237