slothdev commited on
Commit
bd08ae9
·
1 Parent(s): 94e8197
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ pipe = pipeline("text2text-generation", model="google/flan-t5-small")
10
  # Define a root path to verify the server is running
11
  @app.get("/")
12
  def read_root():
13
- return {"message": "Welcome to the FastAPI application. Use /generate to generate text."}
14
 
15
  # Define a function to handle the GET request at `/generate`
16
  @app.get("/generate")
 
10
  # Define a root path to verify the server is running
11
  @app.get("/")
12
  def read_root():
13
+ return {"message": "Welcome to the FastAPI application. Use /generate to generate text 2."}
14
 
15
  # Define a function to handle the GET request at `/generate`
16
  @app.get("/generate")