ECUiVADE commited on
Commit
deb86d4
1 Parent(s): 19679be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -62,6 +62,7 @@ class ChatbotAPP:
62
  self.service = self.get_drive_service() # Google Drive service instance
63
  self.app = self.create_app() # Gradio app instance
64
  self.chat_log_name = "" # Filename for the chat log
 
65
 
66
 
67
  # Method to create Google Drive service instance
@@ -248,6 +249,8 @@ class ChatbotAPP:
248
  with gr.Blocks(theme=gr.themes.Soft()) as app:
249
  gr.Markdown("# ECU-IVADE: Chat With Barry")
250
  unique_id_display = gr.Textbox(value=self.unique_id, label="Session Unique ID", interactive=False,show_copy_button = True)
 
 
251
 
252
  with gr.Tab("Terms and Conditions"):
253
  #name = gr.Textbox(label="Name")
 
62
  self.service = self.get_drive_service() # Google Drive service instance
63
  self.app = self.create_app() # Gradio app instance
64
  self.chat_log_name = "" # Filename for the chat log
65
+ self.timer_duration = 600
66
 
67
 
68
  # Method to create Google Drive service instance
 
249
  with gr.Blocks(theme=gr.themes.Soft()) as app:
250
  gr.Markdown("# ECU-IVADE: Chat With Barry")
251
  unique_id_display = gr.Textbox(value=self.unique_id, label="Session Unique ID", interactive=False,show_copy_button = True)
252
+ self.timer = gr.Timer(value=self.timer_duration, variant="countdown")
253
+
254
 
255
  with gr.Tab("Terms and Conditions"):
256
  #name = gr.Textbox(label="Name")