Spaces:
Running
Running
UPDATE
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ async def send_handler(event):
|
|
233 |
if user_id in states and states[user_id]:
|
234 |
# Send the modified sound file
|
235 |
output_file_name = f"{user_id}_modified_audio"
|
236 |
-
output_file = Fusion.saveSound(states[user_id], output_file_name)
|
237 |
await event.reply(file=output_file)
|
238 |
|
239 |
# Clean up - remove the user's state and the saved audio file
|
@@ -245,7 +245,6 @@ async def send_handler(event):
|
|
245 |
|
246 |
|
247 |
|
248 |
-
|
249 |
async def initiation():
|
250 |
await client.send_message(-1001662130485, "**Hugging is Running.**", buttons=[(Button.url("Execal", "https://t.me/execal"),)],)
|
251 |
|
|
|
233 |
if user_id in states and states[user_id]:
|
234 |
# Send the modified sound file
|
235 |
output_file_name = f"{user_id}_modified_audio"
|
236 |
+
output_file = Fusion.saveSound(states[user_id]["audio"], output_file_name)
|
237 |
await event.reply(file=output_file)
|
238 |
|
239 |
# Clean up - remove the user's state and the saved audio file
|
|
|
245 |
|
246 |
|
247 |
|
|
|
248 |
async def initiation():
|
249 |
await client.send_message(-1001662130485, "**Hugging is Running.**", buttons=[(Button.url("Execal", "https://t.me/execal"),)],)
|
250 |
|