Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -4,6 +4,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStream
|
|
| 4 |
from threading import Thread
|
| 5 |
import torch
|
| 6 |
import json
|
|
|
|
| 7 |
|
| 8 |
app = FastAPI()
|
| 9 |
|
|
|
|
| 4 |
from threading import Thread
|
| 5 |
import torch
|
| 6 |
import json
|
| 7 |
+
from pydantic import BaseModel
|
| 8 |
|
| 9 |
app = FastAPI()
|
| 10 |
|