Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
krrish-v authored Jun 19, 2022
1 parent b9c262b commit 80c4cc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BLOCK/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ def other_user_pub_key(api, token):

else: return jsonify({'error': 'Incorrect api found'})

@app.route('/find/therapist')
def find_threapist():
return jsonify(get_in_data_user().get_doctor())

@app.route('/chat/symptoms=<symptomslist>') #symptioms should be like 0,1,0,0,0,1,0........
def sym_deis(symptomslist):
Expand All @@ -153,4 +156,3 @@ def sym_deis(symptomslist):

if __name__ == '__main__':
app.run(host= '127.0.0.1', port=9278, debug=True)

0 comments on commit 80c4cc2

Please sign in to comment.