Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
unclecode committed Mar 17, 2024
2 parents 5847c74 + d0a7191 commit 85e6786
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,14 @@ To run this proxy locally on your own machine, follow these steps:
3. Create a virtual environment:
```python -m venv venv```

4. Install the required libraries:
4. Activate virtual environment:
```source venv/bin/activate```

5. Install the required libraries:
```pip install -r requirements.txt```

5. Run the FastAPI server:
```uvicorn --app-dir app/ main:app --reload```
6. Run the FastAPI server:
```./venv/bin/uvicorn --app-dir app/ main:app --reload```


## Using the Pre-built Server 🌐
Expand Down
8 changes: 6 additions & 2 deletions frontend/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,22 @@ <h2 class="text-3xl font-bold mb-4">Running the Proxy Locally 🖥️</h2>
<pre
class="bg-gray-800 rounded p-4 mb-4"
><code class = "language-bash">cd groqcall</code></pre>
<li>SCreate a virtual environment:</li>
<li>Create a virtual environment:</li>
<pre
class="bg-gray-800 rounded p-4 mb-4"
><code class = "language-bash">python -m venv venv</code></pre>
<li>Activate the virtual environment:</li>
<pre
class="bg-gray-800 rounded p-4 mb-4"
><code class = "language-bash">source venv/bin/activate</code></pre>
<li>Install the required libraries:</li>
<pre
class="bg-gray-800 rounded p-4 mb-4"
><code class = "language-bash">pip install -r requirements.txt</code></pre>
<li>Run the FastAPI server:</li>
<pre
class="bg-gray-800 rounded p-4"
><code class = "language-bash">uvicorn --app-dir app/ main:app --reload</code></pre>
><code class = "language-bash">.venv/bin/uvicorn --app-dir app/ main:app --reload</code></pre>
</ol>
<h2 class="text-3xl font-bold mb-4">Using the Pre-built Server 🌐</h2>
<p class="text-lg mb-8">
Expand Down

0 comments on commit 85e6786

Please sign in to comment.