AxL95 commited on
Commit
d82f290
·
verified ·
1 Parent(s): 77db471

Update frontend/src/components/ChatInterface.jsx

Browse files
frontend/src/components/ChatInterface.jsx CHANGED
@@ -12,7 +12,7 @@ const ChatInterface = ({ messages = [], setMessages = () => {}, onMessageSent =
12
 
13
  // Initialisation du client Hugging Face (idéalement dans un .env)
14
  const hfClient = new InferenceClient(process.env.REACT_APP_HF_TOKEN || "votre_token_ici");
15
-
16
  const isMarkdown = (text) => /[#*_>`-]/.test(text);
17
 
18
  const scrollToBottom = () => {
 
12
 
13
  // Initialisation du client Hugging Face (idéalement dans un .env)
14
  const hfClient = new InferenceClient(process.env.REACT_APP_HF_TOKEN || "votre_token_ici");
15
+ console.log(hfClient);
16
  const isMarkdown = (text) => /[#*_>`-]/.test(text);
17
 
18
  const scrollToBottom = () => {