Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,8 @@ from fastapi import FastAPI, HTTPException, Depends, Header, Request
|
|
4 |
from fastapi.responses import StreamingResponse
|
5 |
from pydantic import BaseModel
|
6 |
from typing import List
|
7 |
-
from __future__ import annotations
|
8 |
-
from g4f.typing import Messages, AsyncResult
|
9 |
from g4f import ChatCompletion
|
|
|
10 |
from g4f.Provider import BackendApi
|
11 |
|
12 |
app = FastAPI()
|
|
|
4 |
from fastapi.responses import StreamingResponse
|
5 |
from pydantic import BaseModel
|
6 |
from typing import List
|
|
|
|
|
7 |
from g4f import ChatCompletion
|
8 |
+
from g4f.typing import Messages, AsyncResult
|
9 |
from g4f.Provider import BackendApi
|
10 |
|
11 |
app = FastAPI()
|