From de9626e260ceb3ce5e1307f0213ef988c7e8d145 Mon Sep 17 00:00:00 2001 From: Nathanliao02 Date: Tue, 19 Dec 2023 21:15:40 +0800 Subject: [PATCH] adding ending --- main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.cpp b/main.cpp index 84f740d..3d60138 100644 --- a/main.cpp +++ b/main.cpp @@ -9,7 +9,7 @@ #include "ChatGPT/include/Game.h" // this is the main function -const int STORY_NUM=2; +const int STORY_NUM=5; const char OPENAI_API_KEY[100]="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"; int main(){ @@ -62,9 +62,9 @@ int main(){ std::this_thread::sleep_for(std::chrono::seconds(1)); - chatGpt.CoutPrompt(); + // chatGpt.CoutPrompt(); } - game.PrintFinalResult(chatGpt); + // game.PrintFinalResult(chatGpt); }catch(OpenAI::Error& e){ //JSON error returned by the server