Add form
This commit is contained in:
parent
515d5cb7c0
commit
dd4d3276c4
|
@ -82,7 +82,9 @@ server(Options) :-
|
||||||
|
|
||||||
web_polyplay(_Request) :-
|
web_polyplay(_Request) :-
|
||||||
format('Content-type: text/html~n~n'),
|
format('Content-type: text/html~n~n'),
|
||||||
format('Welcome to PolyMani!~n').
|
format('Welcome to PolyMani!~n'),
|
||||||
|
format('Ask me something:~n'),
|
||||||
|
format('<form method="GET" action="process"><input type="text"></input></form>~n').
|
||||||
|
|
||||||
/*******************************
|
/*******************************
|
||||||
* NLP *
|
* NLP *
|
||||||
|
|
Reference in New Issue