Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
controllers/gpt_enginner20240628144139
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 70d394313e9ec7778e0ce4445845bca767466a28
|
controllers/gpt_enginner20240628144803
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 94b7a2399dfa5e0d2c31f55a451b23ee0c634b25
|
controllers/gpt_enginner20240628144917
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 8ee061125f13bf83aa203a08b2a4680435333a14
|
controllers/gpt_enginner20240628145018
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 4d36f82bcfbeb8e11f35f39766ea5e7f517e9817
|
routers/webhook.py
CHANGED
@@ -101,6 +101,7 @@ async def webhook(request: Request):
|
|
101 |
subtitle = f"""
|
102 |
<b>ユーザーID:</b>{user_id}
|
103 |
<b>質問内容:</b> {text}
|
|
|
104 |
<b>送信タイプ:</b> {event_type}
|
105 |
<b>ラインへ返信token /line_replay でチャットから返信<b>{reply_token}
|
106 |
"""
|
|
|
101 |
subtitle = f"""
|
102 |
<b>ユーザーID:</b>{user_id}
|
103 |
<b>質問内容:</b> {text}
|
104 |
+
|
105 |
<b>送信タイプ:</b> {event_type}
|
106 |
<b>ラインへ返信token /line_replay でチャットから返信<b>{reply_token}
|
107 |
"""
|
workspace/main.py
CHANGED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from fastapi import FastAPI, APIRouter
|
2 |
+
|
3 |
+
router = APIRouter()
|
4 |
+
|
5 |
+
@router.get("/")
|
6 |
+
def read_root():
|
7 |
+
return {"message": "Welcome to this fantastic app!"}
|