ECUiVADE commited on
Commit
fc179fb
1 Parent(s): cda28b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -143,7 +143,7 @@ class ChatbotAPP:
143
  response = ""
144
 
145
  while(len(response) < 1):
146
- output = self.llm(context, max_tokens=400, stop=["Nurse:"], echo=False)
147
  response = output["choices"][0]["text"]
148
  response = response.strip()
149
  #yield response
@@ -214,7 +214,7 @@ class ChatbotAPP:
214
  def create_app(self):
215
  with gr.Blocks() as app:
216
  gr.Markdown("# ECU-IVADE: Conversational AI Model for Aggressive Patient Behavior (Beta Testing)")
217
- unique_id_display = gr.Textbox(value=unique_id, label="Session Unique ID", interactive=False,show_copy_button = True)
218
 
219
  with gr.Tab("Terms and Conditions"):
220
  #name = gr.Textbox(label="Name")
 
143
  response = ""
144
 
145
  while(len(response) < 1):
146
+ output = self.llm(self.context, max_tokens=400, stop=["Nurse:"], echo=False)
147
  response = output["choices"][0]["text"]
148
  response = response.strip()
149
  #yield response
 
214
  def create_app(self):
215
  with gr.Blocks() as app:
216
  gr.Markdown("# ECU-IVADE: Conversational AI Model for Aggressive Patient Behavior (Beta Testing)")
217
+ unique_id_display = gr.Textbox(value=self.unique_id, label="Session Unique ID", interactive=False,show_copy_button = True)
218
 
219
  with gr.Tab("Terms and Conditions"):
220
  #name = gr.Textbox(label="Name")