Spaces:
Sleeping
Sleeping
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Code Assistant
|
3 |
+
emoji: 🏆
|
4 |
+
colorFrom: indigo
|
5 |
+
colorTo: indigo
|
6 |
+
sdk: streamlit
|
7 |
+
sdk_version: 1.36.0
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
---
|
11 |
+
|
12 |
+
# Building LLM Powered GitHub Assitant
|
13 |
+
|
14 |
+
This repository contains the code accompanying my Medium article, Building LLM Powered GitHub Assitant. Follow the steps below to set up and run the server for your needs.
|
15 |
+
|
16 |
+
## Setup Instructions
|
17 |
+
|
18 |
+
1. **Environment Variables**
|
19 |
+
Create a `.env` file in the root directory of the project and add your API key:
|
20 |
+
```
|
21 |
+
GEMINI_API_KEY=your_api_key_here
|
22 |
+
```
|
23 |
+
|
24 |
+
2. **Install Requirements**
|
25 |
+
Install the required packages using the `requirements.txt` file:
|
26 |
+
```
|
27 |
+
pip install -r requirements.txt
|
28 |
+
```
|
29 |
+
|
30 |
+
3. **Run the Streamlit Server**
|
31 |
+
Start the Streamlit server by running:
|
32 |
+
```
|
33 |
+
streamlit run app.py
|
34 |
+
```
|
35 |
+
|
36 |
+
4. **Example (with [keras-ocr](https://github.com/faustomorales/keras-ocr))**
|
37 |
+

|
38 |
+

|
39 |
+

|
40 |
+

|
41 |
+
|
42 |
+
If you encounter any issues or have questions, feel free to open an issue in this repository.
|
43 |
+
|
44 |
+
Happy coding!
|