Skip to content
This repository was archived by the owner on Sep 9, 2023. It is now read-only.

Commit

Permalink
fix: removed local file references
Browse files Browse the repository at this point in the history
  • Loading branch information
telpirion committed Dec 4, 2020
1 parent 1df941a commit 980e089
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public class PredictImageClassificationSample {

public static void main(String[] args) throws IOException {
// TODO(developer): Replace these variables before running the sample.
String project = "ucaip-sample-tests";
String fileName = "/Users/erschmid/SampleMedia/daisy.jpg";
String endpointId = "71213169107795968";
String project = "YOUR_PROJECT_ID";
String fileName = "YOUR_IMAGE_FILE_PATH";
String endpointId = "YOUR_ENDPOINT_ID";
predictImageClassification(project, fileName, endpointId);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public class PredictTextClassificationSingleLabelSample {

public static void main(String[] args) throws IOException {
// TODO(developer): Replace these variables before running the sample.
String project = "ucaip-sample-tests";
String content = "My local greasy-spoon diner took way too long to get my food. It also costs too much. Good food though.";
String endpointId = "65372563341049856";
String project = "YOUR_PROJECT_ID";
String content = "YOUR_TEXT_CONTENT";
String endpointId = "YOUR_ENDPOINT_ID";

predictTextClassificationSingleLabel(project, content, endpointId);
}
Expand Down

0 comments on commit 980e089

Please sign in to comment.