Spaces:
Sleeping
Sleeping
Commit
·
66b6471
1
Parent(s):
ba01e1c
Update main.py
Browse files
main.py
CHANGED
|
@@ -9,6 +9,7 @@ app = FastAPI()
|
|
| 9 |
class ChatInput(BaseModel):
|
| 10 |
input: str
|
| 11 |
|
|
|
|
| 12 |
@app.post("/infer_chatgpt")
|
| 13 |
def chatgpt(input: ChatInput):
|
| 14 |
try:
|
|
|
|
| 9 |
class ChatInput(BaseModel):
|
| 10 |
input: str
|
| 11 |
|
| 12 |
+
|
| 13 |
@app.post("/infer_chatgpt")
|
| 14 |
def chatgpt(input: ChatInput):
|
| 15 |
try:
|