Abu1998 commited on
Commit
48f8a56
·
verified ·
1 Parent(s): d3e37a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,5 +5,6 @@ app = FastAPI()
5
 
6
  @app.post("/generate_script")
7
  async def generate_script_endpoint(user_input: str):
 
8
  script = generate_script(user_input)
9
- return {"script": script}
 
5
 
6
  @app.post("/generate_script")
7
  async def generate_script_endpoint(user_input: str):
8
+ print("Received user input:", user_input) # Add this line to verify the endpoint call
9
  script = generate_script(user_input)
10
+ return {"script": script}