Spaces:
Build error
Build error
Update app.py
Browse files
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
|
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("##
|
228 |
-
chatbot = gr.Chatbot(elem_id="chatbot", label="
|
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):
|