Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from telegram import Update
|
|
| 8 |
from telegram.ext import Application, CommandHandler, MessageHandler, filters, ContextTypes
|
| 9 |
|
| 10 |
# Telegram bot token (to be set via Hugging Face Space secrets)
|
| 11 |
-
TELEGRAM_BOT_TOKEN = os.getenv("
|
| 12 |
|
| 13 |
# Process audio and transcribe
|
| 14 |
def process_audio(audio_input):
|
|
|
|
| 8 |
from telegram.ext import Application, CommandHandler, MessageHandler, filters, ContextTypes
|
| 9 |
|
| 10 |
# Telegram bot token (to be set via Hugging Face Space secrets)
|
| 11 |
+
TELEGRAM_BOT_TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
|
| 12 |
|
| 13 |
# Process audio and transcribe
|
| 14 |
def process_audio(audio_input):
|