Update2more
Browse files
Main2.py
CHANGED
|
@@ -244,7 +244,7 @@ def create_interface():
|
|
| 244 |
audio_input = gr.Audio(label="Audio Input", type="filepath", elem_id="audio_input")
|
| 245 |
video_input = gr.Video(label="Video Input", elem_id="video_input")
|
| 246 |
chat_btn = gr.Button("Send", variant="primary")
|
| 247 |
-
chat_response = gr.Chatbot(label="Chat Responses", elem_id="chat_response", height=
|
| 248 |
|
| 249 |
def handle_chat(character_name, user_input, audio_file, video_file, user_id, chat_messages, current_chat_id):
|
| 250 |
if not user_id:
|
|
|
|
| 244 |
audio_input = gr.Audio(label="Audio Input", type="filepath", elem_id="audio_input")
|
| 245 |
video_input = gr.Video(label="Video Input", elem_id="video_input")
|
| 246 |
chat_btn = gr.Button("Send", variant="primary")
|
| 247 |
+
chat_response = gr.Chatbot(label="Chat Responses", elem_id="chat_response", height=500, type="messages") # Increased height here
|
| 248 |
|
| 249 |
def handle_chat(character_name, user_input, audio_file, video_file, user_id, chat_messages, current_chat_id):
|
| 250 |
if not user_id:
|