Create a gist now

Instantly share code, notes, and snippets.

Embed
tensorflow , resultupdate
# -*- coding: utf-8 -*-
import requests
import json
import time
import sys
import gc
import traceback
import api_func
import com_func
import ai_func
mAPI_KEY="your-Key"
if __name__ == "__main__":
clsAI =ai_func.ai_funcClass()
key=mAPI_KEY
try:
field=1
clsAI.proc_run(key , field )
field=2
clsAI.proc_run(key , field )
field=4
clsAI.proc_run(key , field )
except:
print "--------------------------------------------"
print traceback.format_exc(sys.exc_info()[2])
print "--------------------------------------------"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment