Lade till några utskrifter för felsökning
This commit is contained in:
@@ -80,10 +80,12 @@ def get_response(user_query):
|
||||
# Return the generated response
|
||||
return response
|
||||
|
||||
def run_flask(fport = 5005):
|
||||
def run_flask(fport=5005):
|
||||
# Flask endpoint for user interaction
|
||||
app.run(str(fport), debug=True)
|
||||
print(f"Entering run_flask()")
|
||||
app.run(port = str(str(fport)), debug=False)
|
||||
# app.run(port=5000, debug=True, use_reloader=False)
|
||||
print(f"Exiting run_flask()")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user