fastapi_ml_stablediffusion icon indicating copy to clipboard operation
fastapi_ml_stablediffusion copied to clipboard

A Stable Diffusion Demo with React and FastAPI

Results 1 fastapi_ml_stablediffusion issues
Sort by recently updated
recently updated
newest added

I saw that you are using await here, Are there any benefits of doing so? `@app.get("/api/generate/") async def generate_image(imgPromptCreate: _schemas.ImageCreate = _fapi.Depends()): image = await _services.generate_image(imgPrompt=imgPromptCreate) memory_stream = io.BytesIO() image.save(memory_stream,...