Next7years commited on
Commit
cd4d8c0
1 Parent(s): 2579c7e
Files changed (1) hide show
  1. main.py +0 -5
main.py CHANGED
@@ -6,8 +6,3 @@ app = FastAPI()
6
  def read_root():
7
  return {"Hello": "World!"}
8
 
9
- @app.post("/generate")
10
- def generate_image(input: str):
11
- model = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5")
12
-
13
- return {"image": "test", "input": input}
 
6
  def read_root():
7
  return {"Hello": "World!"}
8