Spaces:
Sleeping
Sleeping
from fastapi import FastAPI | |
from model_config import console_chat | |
# Get time | |
app = FastAPI() | |
# FastAPI | |
def return_api(text: str): | |
# Get the caption | |
response= console_chat.chat(text) | |
# Return message | |
return response |