Update main.py
Browse files
main.py
CHANGED
@@ -69,10 +69,10 @@ async def generate_image(request: Request):
|
|
69 |
return jsonify({"image": response})
|
70 |
|
71 |
class User(BaseModel):
|
72 |
-
prompt: str
|
73 |
-
model: str
|
74 |
-
sampler: str
|
75 |
-
seed: int
|
76 |
neg: str or None
|
77 |
|
78 |
@app.route("/test", methods=["POST"])
|
|
|
69 |
return jsonify({"image": response})
|
70 |
|
71 |
class User(BaseModel):
|
72 |
+
prompt: str
|
73 |
+
model: str
|
74 |
+
sampler: str
|
75 |
+
seed: int
|
76 |
neg: str or None
|
77 |
|
78 |
@app.route("/test", methods=["POST"])
|