Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -317,7 +317,7 @@ def add_message(history, message):
|
|
317 |
history.append((message, None))
|
318 |
return history, gr.Textbox(value="", interactive=True, placeholder="Enter message or upload file...", show_label=False)
|
319 |
|
320 |
-
|
321 |
if state:
|
322 |
transcription = state
|
323 |
return gr.Textbox.update(value=transcription, interactive=True)
|
|
|
317 |
history.append((message, None))
|
318 |
return history, gr.Textbox(value="", interactive=True, placeholder="Enter message or upload file...", show_label=False)
|
319 |
|
320 |
+
def send_chunk(state, chat_input):
|
321 |
if state:
|
322 |
transcription = state
|
323 |
return gr.Textbox.update(value=transcription, interactive=True)
|