Spaces:
Paused
Paused
:boom: [Fix] Remove StreamResponseConstructor imports
Browse files- apis/chat_api.py +0 -3
- networks/__init__.py +0 -1
apis/chat_api.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
import json
|
| 2 |
import uvicorn
|
| 3 |
|
| 4 |
from fastapi import FastAPI
|
|
@@ -10,8 +9,6 @@ from conversations import (
|
|
| 10 |
ConversationSession,
|
| 11 |
)
|
| 12 |
|
| 13 |
-
from networks import StreamResponseConstructor
|
| 14 |
-
|
| 15 |
|
| 16 |
class ChatAPIApp:
|
| 17 |
def __init__(self):
|
|
|
|
|
|
|
| 1 |
import uvicorn
|
| 2 |
|
| 3 |
from fastapi import FastAPI
|
|
|
|
| 9 |
ConversationSession,
|
| 10 |
)
|
| 11 |
|
|
|
|
|
|
|
| 12 |
|
| 13 |
class ChatAPIApp:
|
| 14 |
def __init__(self):
|
networks/__init__.py
CHANGED
|
@@ -5,4 +5,3 @@ from .conversation_request_headers_constructor import (
|
|
| 5 |
)
|
| 6 |
from .message_outputer import OpenaiStreamOutputer
|
| 7 |
from .message_parser import MessageParser
|
| 8 |
-
from .stream_response_constructor import StreamResponseConstructor
|
|
|
|
| 5 |
)
|
| 6 |
from .message_outputer import OpenaiStreamOutputer
|
| 7 |
from .message_parser import MessageParser
|
|
|