File size: 754 Bytes
721fdff
 
 
 
 
 
09b455a
721fdff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---

title: Chichewa Text2SQL
emoji: 🌍
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: "5.9.1"
app_file: app.py
pinned: false
hardware: zero-a10g
license: mit
---


# Chichewa Text-to-SQL

Query databases using natural language in **Chichewa** or English.

Model: [johneze/Llama-3.1-8B-Instruct-chichewa-text2sql](https://huggingface.co/johneze/Llama-3.1-8B-Instruct-chichewa-text2sql)

## API Usage

You can call this Space programmatically via `gradio_client`:

```python

from gradio_client import Client



client = Client("johneze/chichewa-text2sql")

result = client.predict(

    question="Ndi boma liti komwe anakolola chimanga chambiri?",

    language="ny",

    api_name="/generate_sql"

)

print(result)

```