Spaces:
Runtime error
Runtime error
Commit
·
46465cb
1
Parent(s):
1d2796b
Fix: Corrected absolute imports in main.py for Docker
Browse files
main.py
CHANGED
|
@@ -9,8 +9,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
| 9 |
import torch
|
| 10 |
|
| 11 |
# Import dari file lokal
|
| 12 |
-
from
|
| 13 |
-
from
|
| 14 |
|
| 15 |
app = FastAPI()
|
| 16 |
|
|
|
|
| 9 |
import torch
|
| 10 |
|
| 11 |
# Import dari file lokal
|
| 12 |
+
from api_client import get_tweets_by_username
|
| 13 |
+
from preprocessing import preprocess_text
|
| 14 |
|
| 15 |
app = FastAPI()
|
| 16 |
|