Sfoglia il codice sorgente

change test env from get to post

ming 3 anni fa
parent
commit
bdfc0815d3
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      api/main.py

+ 2 - 1
api/main.py

@@ -691,7 +691,8 @@ class text_in(BaseModel):
 async def make_voice(in_text:text_in):
     print(in_text.text)
     print(len(in_text.text))
-    x = threading.Thread(target=call_voice, args=(in_text.text))
+    print(type(in_text.text))
+    x = threading.Thread(target=call_voice, args=(strin_text.text,))
     x.start()