lmzjms commited on
Commit
82b4d1d
1 Parent(s): 9fe0f7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,7 +51,7 @@ def cut_dialogue_history(history_memory, keep_last_n_words = 500):
51
 
52
  class ConversationBot:
53
  def __init__(self):
54
- print("Initializing AudioChatGPT")
55
  self.tools = []
56
  self.memory = ConversationBufferMemory(memory_key="chat_history", output_key='output')
57
  def run_text(self, text, state):
@@ -224,8 +224,8 @@ if __name__ == '__main__':
224
  type="password",
225
  )
226
  with gr.Row():
227
- gr.Markdown("## Audio ChatGPT")
228
- chatbot = gr.Chatbot(elem_id="chatbot", label="Audio ChatGPT")
229
  state = gr.State([])
230
  with gr.Row(visible = False) as input_raws:
231
  with gr.Column(scale=0.7):
 
51
 
52
  class ConversationBot:
53
  def __init__(self):
54
+ print("Initializing AudioGPT")
55
  self.tools = []
56
  self.memory = ConversationBufferMemory(memory_key="chat_history", output_key='output')
57
  def run_text(self, text, state):
 
224
  type="password",
225
  )
226
  with gr.Row():
227
+ gr.Markdown("## AudioGPT")
228
+ chatbot = gr.Chatbot(elem_id="chatbot", label="AudioGPT")
229
  state = gr.State([])
230
  with gr.Row(visible = False) as input_raws:
231
  with gr.Column(scale=0.7):