From 5bf54fc8aa078a8b44b019846972a1ffe6beb054 Mon Sep 17 00:00:00 2001 From: Yadong Xie Date: Fri, 26 Jan 2024 16:35:52 +0800 Subject: [PATCH] docs: update run server readme (#7) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 360977c..3a9b8ca 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ cd web && npm install && npm run build ``` 3. Run server ```shell -python search_with_lepton.py +BACKEND=BING python search_with_lepton.py ``` @@ -55,7 +55,7 @@ You can deploy this to Lepton AI with one click: You can also deploy your own version via ```shell -lep photon run -n search-with-lepton-modified -m search_with_lepton.py +lep photon run -n search-with-lepton-modified -m search_with_lepton.py --env BACKEND=BING --env BING_SEARCH_V7_SUBSCRIPTION_KEY=YOUR_BING_SUBSCRIPTION_KEY ``` Learn more about `lep photon` [here](https://www.lepton.ai/docs).