Yusin commited on
Commit
a415226
1 Parent(s): 8e436cb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -7
main.py CHANGED
@@ -1,12 +1,5 @@
1
- from fastapi import FastAPI
2
  import os
3
  session_token = os.environ.get('SessionToken')
4
  conversation_id = os.environ.get('conversation_id')
5
  from revChatGPT.ChatGPT import Chatbot
6
  chatbot = Chatbot({"session_token": session_token}) # You can start a custom conversation
7
-
8
- app = FastAPI()
9
-
10
- @app.get("/")
11
- def read_root():
12
- return {"Hello": "World!"}
 
 
1
  import os
2
  session_token = os.environ.get('SessionToken')
3
  conversation_id = os.environ.get('conversation_id')
4
  from revChatGPT.ChatGPT import Chatbot
5
  chatbot = Chatbot({"session_token": session_token}) # You can start a custom conversation