Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -255,7 +255,7 @@ async def send_handler(event):
|
|
255 |
# output_file = await Fusion.saveSound(states[user_id]["audio"], output_file_name)
|
256 |
# await event.reply(file=output_file)
|
257 |
|
258 |
-
await client.send_file(
|
259 |
|
260 |
# Clean up - remove the user's state and the saved audio file
|
261 |
del states[user_id]
|
|
|
255 |
# output_file = await Fusion.saveSound(states[user_id]["audio"], output_file_name)
|
256 |
# await event.reply(file=output_file)
|
257 |
|
258 |
+
await client.send_file(event.chat_id, file=InputFile(states[user_id]["audio"], "Audio.mp3"))
|
259 |
|
260 |
# Clean up - remove the user's state and the saved audio file
|
261 |
del states[user_id]
|