aka7774 commited on
Commit
5c4beda
·
verified ·
1 Parent(s): d3eb718

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -51,9 +51,9 @@ async def set_prompt(prompt: str, language: str = None):
51
  return {"error": str(e)}
52
 
53
  @app.post("/set_transcribe_args")
54
- async def set_transcribe_args(args: dict):
55
  try:
56
- fn.set_transcribe_args(args)
57
 
58
  return {"status": 0}
59
  except Exception as e:
 
51
  return {"error": str(e)}
52
 
53
  @app.post("/set_transcribe_args")
54
+ async def set_transcribe_kwargs(args: dict):
55
  try:
56
+ fn.set_transcribe_kwargs(args)
57
 
58
  return {"status": 0}
59
  except Exception as e: