main #4

Merged
YasinOnm08 merged 3 commits from React-Group/interstellar_ai:main into main 2024-09-19 09:45:27 +02:00
Showing only changes of commit fcc147f8ae - Show all commits

View file

@ -23,7 +23,7 @@ class API:
self.ai = AI()
def run(self):
@self.app.route('/interstellar/api/ai_create', methods=['POST'])
@self.app.route('/interstellar/api/ai_create', methods=['GET'])
def create_ai():
self.ai_response.append("")
return jsonify({'status': 200, 'access_token': len(self.ai_response) - 1})