openfree commited on
Commit
e345371
·
verified ·
1 Parent(s): cf64e6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1250,8 +1250,7 @@ async def synthesize(article_input, input_type: str = "URL", mode: str = "Local"
1250
  else: # API mode (now secondary)
1251
  api_key = os.environ.get("TOGETHER_API_KEY")
1252
  if not api_key:
1253
-
1254
- print("API key not found, falling back to local mode")
1255
  conversation_json = converter.extract_conversation_local(text, language)
1256
  else:
1257
  try:
 
1250
  else: # API mode (now secondary)
1251
  api_key = os.environ.get("TOGETHER_API_KEY")
1252
  if not api_key:
1253
+ print("API key not found, falling back to local mode")
 
1254
  conversation_json = converter.extract_conversation_local(text, language)
1255
  else:
1256
  try: