devin-ai commited on
Commit
477c32f
·
verified ·
1 Parent(s): 55b1750

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -80,9 +80,9 @@ Ensure to structure the content using HTML tags like <p> for paragraphs and<ul>,
80
  <p><b>Main Topic:[Main topic of the content]<b><br><ul><li>[Key point 1]: [Description or detail]</li><li>[Key point 2]: [Description or detail]</li><li>[Key point 3]: [Description or detail]</li></ul><br><b>Additional Considerations:<b><br><ul><li>[Additional consideration 1]: [Description or detail]</li><li>[Additional consideration 2]: [Description or detail]</li><li>[Additional consideration 3]: [Description or detail]</li></ul></p>
81
 
82
  Your summary should provide a comprehensive overview of the content, enabling readers to understand the main insights efficiently. Remember to maintain objectivity and focus on the key points to ensure clarity and usefulness for the reader."
83
-
84
  Example:
85
- <p><b>Main Topic: FastAPI - A Quick Overview</b></p><p>FastAPI makes it quicker and easier to develop APIs with Python. In this course, Tommy will guide you through his first API Crash Course, demonstrating how FastAPI works.</p><p>FastAPI is a modern, fast, and high-performance web framework for building APIs with Python. It offers a straightforward approach to developing web applications.</p><p>Here are some key points to remember:</p><ul><li>FastAPI is easy to install using the Python package manager, Pip.</li><li>Ensure you have Python installed on your computer with a minimum version of 3.6 or higher.</li><li>Use command prompt (Windows) or terminal (Mac) to install FastAPI with the command:<code>pip install fastapi</code>.</li><li>You may also need to install an ASGI server like Uvicorn to run your FastAPI project.</li><li>Create a new Python file for your FastAPI project, e.g.,<code>my_api.py</code>.</li><li>Import FastAPI into your Python file using<code>import fastapi</code>.</li><li>Create an instance of FastAPI using<code>app = fastapi.FastAPI()</code>.</li><li>Define endpoints using different HTTP methods like<code>GET</code>,<code>POST</code>,<code>PUT</code>,<code>DELETE</code>, etc.</li><li>Endpoints represent different operations or resources in your API.</li><li>You can use parameters in your endpoints, such as path parameters and query parameters, to customize API behavior.</li></ul><p>Once your FastAPI project is set up, you can run it using an ASGI server like Uvicorn. Test your API endpoints and explore the autogenerated documentation provided by FastAPI.</p><p>With FastAPI, you can quickly build powerful and efficient APIs with Python, making it an excellent choice for web development projects.</p>
86
  """
87
 
88
  prompt7="""
 
80
  <p><b>Main Topic:[Main topic of the content]<b><br><ul><li>[Key point 1]: [Description or detail]</li><li>[Key point 2]: [Description or detail]</li><li>[Key point 3]: [Description or detail]</li></ul><br><b>Additional Considerations:<b><br><ul><li>[Additional consideration 1]: [Description or detail]</li><li>[Additional consideration 2]: [Description or detail]</li><li>[Additional consideration 3]: [Description or detail]</li></ul></p>
81
 
82
  Your summary should provide a comprehensive overview of the content, enabling readers to understand the main insights efficiently. Remember to maintain objectivity and focus on the key points to ensure clarity and usefulness for the reader."
83
+ example is given below , just dont display example itself just follow the structure
84
  Example:
85
+ <p><b>Main Topic: Gardening Basics - A Beginner's Guide</b></p><p>Gardening is a fulfilling hobby that connects you with nature and allows you to create beautiful outdoor spaces. In this guide, Emma will walk you through the basics of gardening, helping you get started on your gardening journey.</p><p>Gardening involves cultivating and nurturing plants, flowers, and vegetables in outdoor spaces such as gardens, balconies, or even windowsills.</p><p>Here are some key points to remember:</p><ul><li>Choose a suitable location for your garden, considering factors like sunlight, soil quality, and drainage.</li><li>Prepare the soil by loosening it and adding compost or organic matter to improve its texture and fertility.</li><li>Select plants that are well-suited to your local climate and growing conditions. Consider factors like temperature, humidity, and rainfall.</li><li>Plant your garden using proper spacing and planting techniques. Follow instructions on seed packets or plant tags for best results.</li><li>Water your garden regularly, ensuring plants receive adequate moisture without being overwatered.</li><li>Monitor for pests and diseases, taking proactive measures to protect your plants and maintain their health.</li><li>Prune and trim plants as needed to promote growth and maintain their shape.</li><li>Harvest fruits, vegetables, and flowers when they are ripe, enjoying the bounty of your garden.</li><li>Take time to relax and enjoy your garden, whether it's sitting amongst the flowers, watching birds and butterflies, or simply soaking in the beauty of nature.</li></ul><p>As you gain experience and confidence in gardening, you can explore more advanced techniques and experiment with different plants and garden designs.</p><p>Gardening is not only a rewarding hobby but also a way to connect with the earth and cultivate a sense of wellbeing and stewardship for the environment.</p>
86
  """
87
 
88
  prompt7="""