Skip to content

Commit

Permalink
Merge pull request #7 from dev-launchers/Harri1118-patch-2
Browse files Browse the repository at this point in the history
Update backendInterface.py
  • Loading branch information
Harri1118 authored Dec 14, 2023
2 parents ab7f60b + 3bf8b11 commit fcb242d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backendInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from dotenv import load_dotenv

from flask import Flask, request
from flask_cors import CORS

import time

Expand Down Expand Up @@ -80,5 +81,7 @@ def testQuestion():
time.sleep(3)
return chat_input

CORS(app)

if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0')

0 comments on commit fcb242d

Please sign in to comment.