Sabbah13 commited on
Commit
baf401f
·
verified ·
1 Parent(s): 3073562

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -105,12 +105,12 @@ async def handle_webhook(request: Request, token: str = Depends(verify_token)):
105
  if run_time.stage != 'RUNNING':
106
  await restart_and_check_space(repo_id)
107
  else:
108
- logger.info('Transcribation space is running, sending file')
109
  async with httpx.AsyncClient() as client:
110
  data = {
111
  'video_url': str(responseRetrieve.get('video_url')),
112
  'final_url': "https://sabbah13-video-call-recording-and-transcription-9729a08.hf.space/transcript/",
113
- 'max_speakers': num_participants,
114
  'min_speakers': 1,
115
  'bot_id': bot_id,
116
  }
 
105
  if run_time.stage != 'RUNNING':
106
  await restart_and_check_space(repo_id)
107
  else:
108
+ logging.info('Transcribation space is running, sending file')
109
  async with httpx.AsyncClient() as client:
110
  data = {
111
  'video_url': str(responseRetrieve.get('video_url')),
112
  'final_url': "https://sabbah13-video-call-recording-and-transcription-9729a08.hf.space/transcript/",
113
+ 'max_speakers': 10,
114
  'min_speakers': 1,
115
  'bot_id': bot_id,
116
  }