Skip to content

Commit ba61aa8

Browse files
authored
Update demo.py
1 parent 5ef8f74 commit ba61aa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clarifai/demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
from clarifai.rest import ClarifaiApp
77
from clarifai.rest import Image as ClImage
8-
app = ClarifaiApp(api_key='f7a91f12d5664eb4938cd583278e83f9')
8+
app = ClarifaiApp(api_key='yourKey')
99

1010
def clarifyFunc(files):
1111
model = app.models.get("d02b4508df58432fbb84e800597b8959")
1212
image = ClImage(file_obj=open(files, 'rb'))
1313
response = model.predict([image])
1414
return str(response)
1515

16-
fName = '/Users/almas/Documents/Research/demos/clarify/S06_e02_02_34.516#0_N_phoebe.jpg'
16+
fName = 'pathToImage'
1717
print clarifyFunc(fName)

0 commit comments

Comments
 (0)