Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We have finished training the dataset,now how to add this models/seq2seq_weights.h5 into server.py #1

Open
akhilgentoo opened this issue Aug 14, 2017 · 4 comments

Comments

@akhilgentoo
Copy link

No description provided.

@saurabhmathur96
Copy link
Owner

That part is not yet complete.

@saurabhmathur96
Copy link
Owner

Also, isn't this the wrong repository?

@akhilgentoo
Copy link
Author

ok,so its not fully complete right?
from flask import Flask, render_template, jsonify
from time import sleep

app = Flask(name)

@app.route('/')
def index_page():
return render_template('index.html')

@app.route('/respond', methods=['POST'])
def respond():
sleep(2)
return jsonify('respond:''seq2seq_weights.h5') // should we pass dataset over here?

if name == 'main':
app.run(port=8000)

@saurabhmathur96
Copy link
Owner

No, it is not fully complete.
And, no that wouldn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants