Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from fastapi import FastAPI, Request, HTTPException, Header
|
|
6 |
from linebot import LineBotApi, WebhookHandler
|
7 |
from linebot.exceptions import InvalidSignatureError
|
8 |
from linebot.models import MessageEvent, TextMessage, TextSendMessage
|
9 |
-
from model import classify_esi #
|
10 |
|
11 |
# ตั้งค่า Logging
|
12 |
logging.basicConfig(level=logging.INFO)
|
|
|
6 |
from linebot import LineBotApi, WebhookHandler
|
7 |
from linebot.exceptions import InvalidSignatureError
|
8 |
from linebot.models import MessageEvent, TextMessage, TextSendMessage
|
9 |
+
from model import classify_esi # นำเข้าโมเดลที่โหลดไว้แล้ว
|
10 |
|
11 |
# ตั้งค่า Logging
|
12 |
logging.basicConfig(level=logging.INFO)
|