Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -7,6 +7,7 @@ from ml_service import process_single_comment
|
|
| 7 |
from typing import List, Dict, Union
|
| 8 |
import time
|
| 9 |
from kafka import KafkaConsumer, KafkaProducer
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
app = FastAPI()
|
|
|
|
| 7 |
from typing import List, Dict, Union
|
| 8 |
import time
|
| 9 |
from kafka import KafkaConsumer, KafkaProducer
|
| 10 |
+
import asyncio
|
| 11 |
|
| 12 |
|
| 13 |
app = FastAPI()
|