Update main.py
Browse files
main.py
CHANGED
@@ -147,8 +147,8 @@ def image_detail(detail_id: int = Path(None, description="The ID of 1.model id a
|
|
147 |
|
148 |
class Test(BaseModel):
|
149 |
prompt: str
|
150 |
-
model: str =
|
151 |
-
neg: str =
|
152 |
|
153 |
@app.post("/test")
|
154 |
def test(request: Test):
|
|
|
147 |
|
148 |
class Test(BaseModel):
|
149 |
prompt: str
|
150 |
+
model: str = 'gpt-3.5-turbo'
|
151 |
+
neg: str = False
|
152 |
|
153 |
@app.post("/test")
|
154 |
def test(request: Test):
|