Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
FergusFettes committed Feb 27, 2024
1 parent c4ca691 commit 3a443ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ <h3>Stats</h3>
// Check if the result is a string (from Google API) or an object (from axios)
if (typeof result === "string") {
// If it's a string, it's the text returned directly from the Google API
newText = addSpace(healTokens(result));
newText = addSpace(healTokens(result), fullText);
} else {
// If it's an object, process the axios response to extract the text
newText = processApiResponse(fullText, result, modelName);
Expand Down

0 comments on commit 3a443ee

Please sign in to comment.