From 9a224f32fdcc7ce82bc88de31bb511b92990286a Mon Sep 17 00:00:00 2001 From: Bae Han Jun Date: Fri, 18 Jul 2025 15:05:57 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20init=20=ED=8C=8C=EC=9D=BC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/__init__.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/app/__init__.py b/app/__init__.py index cd96ff5..3e3fc0a 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1,4 +1,4 @@ -from flask import Flask, jsonify +from flask import Flask from flasgger import Swagger from .routes import api_blueprint @@ -6,18 +6,4 @@ def create_app(): app = Flask(__name__) Swagger(app) app.register_blueprint(api_blueprint) - - @app.route('/') - def index(): - return jsonify({ - "message": "관세청 챗봇 API 서버", - "endpoints": { - "/predict": "POST - 관세 예측 및 통관 관련 질문 처리", - "/apidocs": "GET - API 문서 (Swagger)" - }, - "example": { - "question": "미국에서 150만원에 노트북을 샀는데 관세가 얼마나 나올까요?" - } - }) - return app \ No newline at end of file