Spaces:
Build error
Build error
from fastapi import FastAPI | |
import os | |
session_token = os.environ.get('SessionToken') | |
conversation_id = os.environ.get('conversation_id') | |
from revChatGPT.ChatGPT import Chatbot | |
chatbot = Chatbot({"session_token": session_token}) # You can start a custom conversation | |
app = FastAPI() | |
def read_root(): | |
return {"Hello": "World!"} |