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

No interface on the website (Windows) #2

Open
nklein23 opened this issue Aug 3, 2018 · 2 comments
Open

No interface on the website (Windows) #2

nklein23 opened this issue Aug 3, 2018 · 2 comments

Comments

@nklein23
Copy link

nklein23 commented Aug 3, 2018

Hello, I was trying to apply your code on my Windows machine. It seems that the code works perfectly fine, here are the last few lines when I run the app.py file (e.g. locally) in my Windows shell:


Restoring parameters from results/crf/model.weights/
 * Debugger is active!
 * Debugger PIN: 740-578-024
 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)

Unfortunately, when I visit the IP address printed in the terminal, it says "unable to connect" (see the first attached image)

Changing to my local IP address, which is http://127.0.0.1:5000/, i can connect but the only thing I can see are the two words "Index API" in the top left corner (see the second attached image).

Do you think it is Windows related or am I doing something wrong?

image one:
cannot_connect

image two:
index

@moonlight1776
Copy link

You should read the blog first.
https://guillaumegenthial.github.io/serving.html

@guillaumegenthial
Copy link
Owner

Nothing's wrong here. See blog post: the serving URL can be different. Also, when you open your browser you're issuing a HTTP GET request, but what you are interested in is HTTP POST request (handled by form + ajax in my basic front-end example).

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

3 participants