Posts

Showing posts with the label GitHub

How to Deploy a Gradio Application on Render: A Step-by-Step Guide

Image
Introduction Deploying a Gradio application on a server allows you to share your web-based machine learning demos with a wider audience. In this guide, we'll walk you through the process of deploying a Gradio app using Render, a popular platform for hosting web applications. Prerequisites Before we begin, make sure you have the following: A Gradio application developed and tested locally. A GitHub account with your Gradio app code pushed to a repository. A Render account. Steps to Deploy 1. Prepare Your Gradio App First, ensure your Gradio app runs correctly on your local machine. Use the requirements.txt file to manage your dependencies and a virtual environment to isolate your app. # Activate virtual environment and install dependencies source venv/bin/activate pip install -r requirements.txt # Run your Gradio app locally uvicorn run:app --reload Check the local deployment to confirm everything works as expected. 2. Push Your Code to GitHub Commit your code changes and push...

Navigating the Challenges of Implementing AI in Software Engineering: My Journey with SWE-agent

Image
🚀 Excited to dive into the world of Software Engineering with SWE-agent ! 🛠️ Despite my best efforts, encountered some hurdles getting it up and running on my first attempt. Tried tweaking the codebase, exploring different options, but still couldn't crack it. (swe-agent) PS C:\\Users\\Admin\\Downloads\\AI\\SWE-agent> docker run --rm -it -v //var/run/docker.sock:/var/run/docker.sock -v ${PWD} /keys.cfg:/app/keys.cfg -v ${PWD} /run.py:/app/run.py sweagent/swe-agent-run:latest python run.py --per_instance_cost_limit 100.00 --data_path https://github.com/PrabhashDiss/SARD/issues/1 --config_file config/default_from_url.yaml INFO 📙 Arguments: actions: apply_patch_locally: false ... ... ... INFO 💽 Loaded dataset from https://github.com/PrabhashDiss/SARD/issues/1 INFO Found image sweagent/swe-agent-run:latest with tags: [' sweagent/swe-agent-run:latest '], created: 2024 - 04 -22T 08:16:17 .397663332Z for linux amd64. DEBUG Starting c...