Files
deb-python-oauth2client/samples/prediction/setup.sh
Joe Gregorio 65826f92c3 Fix prediction sample to comply with updated insert request and take data as command-line flag.
Reviewed in http://codereview.appspot.com/4535113/

Index: samples/prediction/README
===================================================================
new file mode 100644
2011-06-03 11:20:29 -04:00

17 lines
474 B
Bash
Executable File

#!/bin/bash
#
# Copyright 2011 Google Inc. All Rights Reserved.
# Author: jcgregorio@google.com (Joe Gregorio)
#
# Uploads a training data set to Google Storage to be used by this sample
# application.
#
# Usage:
# setup.sh bucket/object
#
# Requirements:
# gsutil - a client application for interacting with Google Storage. It
# can be downloaded from https://code.google.com/apis/storage/docs/gsutil.html
OBJECT_NAME=$1
gsutil cp language_id.txt gs://$OBJECT_NAME