Skip to content

Commit 85e6786

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 5847c74 + d0a7191 commit 85e6786

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ To run this proxy locally on your own machine, follow these steps:
3131
3. Create a virtual environment:
3232
```python -m venv venv```
3333

34-
4. Install the required libraries:
34+
4. Activate virtual environment:
35+
```source venv/bin/activate```
36+
37+
5. Install the required libraries:
3538
```pip install -r requirements.txt```
3639

37-
5. Run the FastAPI server:
38-
```uvicorn --app-dir app/ main:app --reload```
40+
6. Run the FastAPI server:
41+
```./venv/bin/uvicorn --app-dir app/ main:app --reload```
3942

4043

4144
## Using the Pre-built Server 🌐

frontend/pages/index.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,22 @@ <h2 class="text-3xl font-bold mb-4">Running the Proxy Locally 🖥️</h2>
116116
<pre
117117
class="bg-gray-800 rounded p-4 mb-4"
118118
><code class = "language-bash">cd groqcall</code></pre>
119-
<li>SCreate a virtual environment:</li>
119+
<li>Create a virtual environment:</li>
120120
<pre
121121
class="bg-gray-800 rounded p-4 mb-4"
122122
><code class = "language-bash">python -m venv venv</code></pre>
123+
<li>Activate the virtual environment:</li>
124+
<pre
125+
class="bg-gray-800 rounded p-4 mb-4"
126+
><code class = "language-bash">source venv/bin/activate</code></pre>
123127
<li>Install the required libraries:</li>
124128
<pre
125129
class="bg-gray-800 rounded p-4 mb-4"
126130
><code class = "language-bash">pip install -r requirements.txt</code></pre>
127131
<li>Run the FastAPI server:</li>
128132
<pre
129133
class="bg-gray-800 rounded p-4"
130-
><code class = "language-bash">uvicorn --app-dir app/ main:app --reload</code></pre>
134+
><code class = "language-bash">.venv/bin/uvicorn --app-dir app/ main:app --reload</code></pre>
131135
</ol>
132136
<h2 class="text-3xl font-bold mb-4">Using the Pre-built Server 🌐</h2>
133137
<p class="text-lg mb-8">

0 commit comments

Comments
 (0)