Update app.py
Browse files
app.py
CHANGED
|
@@ -52,6 +52,9 @@ iface = gr.Interface(
|
|
| 52 |
#inputs=gr.inputs.Textbox(lines=7, label="User Question"),
|
| 53 |
inputs = ['text'],
|
| 54 |
outputs=['text'],
|
|
|
|
|
|
|
|
|
|
| 55 |
title="Finetuned code-llama-7b for Text-to-SQL Demo",
|
| 56 |
description="Translate text to SQL query based on the provided schema.CREATE TABLE table_17429402_7 (school VARCHAR, last_occ_championship VARCHAR)"
|
| 57 |
)
|
|
|
|
| 52 |
#inputs=gr.inputs.Textbox(lines=7, label="User Question"),
|
| 53 |
inputs = ['text'],
|
| 54 |
outputs=['text'],
|
| 55 |
+
theme="soft",
|
| 56 |
+
examples=['How many schools won their last occ championship in 2006?'],
|
| 57 |
+
cache_examples=True,
|
| 58 |
title="Finetuned code-llama-7b for Text-to-SQL Demo",
|
| 59 |
description="Translate text to SQL query based on the provided schema.CREATE TABLE table_17429402_7 (school VARCHAR, last_occ_championship VARCHAR)"
|
| 60 |
)
|