copilot_test1 / README.md
ursbijju's picture
Initial
0c015c9
---
title: Copilot Test1
emoji: 🐒
colorFrom: yellow
colorTo: green
sdk: gradio
sdk_version: 5.38.0
app_file: app.py
pinned: false
short_description: Copilot generated - google colab ai ag.+ Gradio SDK UI
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# LangChain Agent with Gradio UI
This is a simple conversational agent built using LangChain and OpenAI's GPT-3.5, deployed with a Gradio interface on Hugging Face Spaces.
## πŸ› οΈ Setup
1. Clone this repository or upload to Hugging Face Spaces.
2. Set your OpenAI API key as a secret environment variable:
- `OPENAI_API_KEY=your_openai_key`
## πŸš€ Run
The app will launch a Gradio interface where you can chat with the agent.
## πŸ“¦ Requirements
Dependencies are listed in `requirements.txt` and will be installed automatically by Hugging Face Spaces.