Skip to content

Commit

Permalink
adding ending
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathanliao02 committed Dec 19, 2023
1 parent 90e9a60 commit de9626e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit de9626e

Please sign in to comment.