File size: 855 Bytes
b3932f4
1ec3c01
 
 
 
b3932f4
1ec3c01
b3932f4
 
 
 
1ec3c01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
title: Llama 2 Chat
emoji: 🤖
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: "4.19.2"
app_file: app.py
pinned: false
---

# Llama 2 Chat

A simple chat interface for the Llama 2 model using Ollama.

## Features

- Chat interface using Gradio
- Powered by Llama 2 model via Hugging Face
- Simple and intuitive UI
- Example prompts included

## Usage

1. Enter your prompt in the text box
2. Click "Submit" or press Enter
3. Wait for the model's response
4. Try the example prompts for quick testing

## Technical Details

- Built with Gradio
- Uses Hugging Face Inference API
- Deployed on Hugging Face Spaces

## Local Development

To run this locally:

```bash
pip install -r requirements.txt
python app.py
```

## Note

This application uses the Hugging Face Inference API to access the Llama 2 model. No local server setup is required.