Merge pull request #620 from gregschwartz/main

Start agent/call/bot at localhost root
This commit is contained in:
Aleix Conchillo Flaqué
2024-10-20 10:14:10 -07:00
committed by GitHub
18 changed files with 20 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ cp env.example .env # and add your credentials
python server.py
```
Then, visit `http://localhost:7860/start` in your browser to start a chatbot session.
Then, visit `http://localhost:7860/` in your browser to start a chatbot session.
## Build and test the Docker image

View File

@@ -57,7 +57,7 @@ app.add_middleware(
)
@app.get("/start")
@app.get("/")
async def start_agent(request: Request):
print(f"!!! Creating room")
room = await daily_helpers["rest"].create_room(DailyRoomParams())