VeuReu commited on
Commit
4fcfe12
verified
1 Parent(s): 8b0b387

Update schat_client.py

Browse files
Files changed (1) hide show
  1. schat_client.py +12 -0
schat_client.py CHANGED
@@ -53,4 +53,16 @@ def identificar_personajes (frase, personas):
53
  persona = personas,
54
  api_name="/modificar"
55
  )
 
 
 
 
 
 
 
 
 
 
 
 
56
  return result
 
53
  persona = personas,
54
  api_name="/modificar"
55
  )
56
+ return result
57
+
58
+ def free_narration_schat(texto):
59
+ """
60
+ Llama al endpoint /narraci贸 del Space remoto VeuReu/schat
61
+ """
62
+ client = _get_schat_client()
63
+
64
+ result = client.predict(
65
+ srt_final=texto,
66
+ api_name="/narraci贸"
67
+ )
68
  return result