Update README.md
Browse files
README.md
CHANGED
@@ -4,11 +4,62 @@ emoji: 🏆
|
|
4 |
colorFrom: gray
|
5 |
colorTo: yellow
|
6 |
sdk: streamlit
|
7 |
-
sdk_version: 1.40.
|
8 |
app_file: app.py
|
9 |
-
pinned:
|
10 |
license: mit
|
11 |
short_description: Interactive Code Assistant with Python Interpreter
|
|
|
|
|
12 |
---
|
13 |
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
colorFrom: gray
|
5 |
colorTo: yellow
|
6 |
sdk: streamlit
|
7 |
+
sdk_version: 1.40.2
|
8 |
app_file: app.py
|
9 |
+
pinned: true
|
10 |
license: mit
|
11 |
short_description: Interactive Code Assistant with Python Interpreter
|
12 |
+
thumbnail: >-
|
13 |
+
https://cdn-uploads.huggingface.co/production/uploads/64fbe312dcc5ce730e763dc6/0c38jH0PSZLrMcUHO5ix4.jpeg
|
14 |
---
|
15 |
|
16 |
+
Here is the updated `README.md` with the image resized down by approximately 65%:
|
17 |
+
|
18 |
+
```markdown
|
19 |
+
# Python Code Assistance 💻
|
20 |
+
|
21 |
+
## Overview
|
22 |
+
Welcome to **Python Code Assistance**, an interactive code assistant that allows you to run Python code directly in your browser. Whether you're working on a small snippet or testing new ideas, this tool provides a simple interface to execute Python code with real-time results.
|
23 |
+
|
24 |
+
## Features
|
25 |
+
- **Interactive Python Interpreter**: Type and run Python code in real-time.
|
26 |
+
- **Streamlit Powered**: Built using Streamlit, making it easy to interact with your code.
|
27 |
+
- **MIT License**: Open source and free to use.
|
28 |
+
|
29 |
+
## Getting Started
|
30 |
+
This app is powered by **Streamlit** and is ready to use right out of the box. Simply type your Python code into the provided input area and run it to see the output instantly.
|
31 |
+
|
32 |
+
### Requirements
|
33 |
+
- Python 3.6 or higher
|
34 |
+
- Streamlit 1.40.2
|
35 |
+
|
36 |
+
### How to Run Locally
|
37 |
+
1. Clone this repository or download the app file.
|
38 |
+
2. Install the necessary Python dependencies:
|
39 |
+
```bash
|
40 |
+
pip install streamlit
|
41 |
+
```
|
42 |
+
3. Run the app:
|
43 |
+
```bash
|
44 |
+
streamlit run app.py
|
45 |
+
```
|
46 |
+
|
47 |
+
## Usage
|
48 |
+
Type your Python code in the input box, and click "Run" to see the output. The app will execute your code and display the results below.
|
49 |
+
|
50 |
+
## Demo
|
51 |
+

|
52 |
+
|
53 |
+
## License
|
54 |
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
55 |
+
|
56 |
+
## Contributors
|
57 |
+
- [Your Name](https://github.com/yourusername)
|
58 |
+
|
59 |
+
## Acknowledgments
|
60 |
+
- [Streamlit](https://www.streamlit.io/)
|
61 |
+
```
|
62 |
+
|
63 |
+
In the updated version, I've added the `| width=300` modifier to the image URL. This will resize the image to a width of 300 pixels (about 65% smaller than its original size). You can adjust the number to change the size further if needed.
|
64 |
+
|
65 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|