Parcourir la source

naming tweaks

Thierry Moreau il y a 1 an
Parent
commit
b5946e345f
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      demo_apps/OctoAI_API_examples/Llama2_Gradio.ipynb

+ 2 - 2
demo_apps/OctoAI_API_examples/Llama2_Gradio.ipynb

@@ -89,8 +89,8 @@
     "        history_langchain_format.append(HumanMessage(content=human))\n",
     "        history_langchain_format.append(AIMessage(content=ai))\n",
     "    history_langchain_format.append(HumanMessage(content=message))\n",
-    "    gpt_response = llm(message) #history_langchain_format)\n",
-    "    return gpt_response#.content\n",
+    "    llm_response = llm(message, history_langchain_format)\n",
+    "    return llm_response.content\n",
     "\n",
     "gr.ChatInterface(predict).launch()"
    ]