Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,7 +114,7 @@ demo = gr.Interface(
|
|
| 114 |
title="SQL Chatbot β Phi-3-mini fine-tuned",
|
| 115 |
description=(
|
| 116 |
"Ask questions about SQL queries.\n\n"
|
| 117 |
-
"
|
| 118 |
),
|
| 119 |
examples=[
|
| 120 |
["Find duplicate emails in users table"],
|
|
@@ -122,8 +122,8 @@ demo = gr.Interface(
|
|
| 122 |
["Count total orders per customer in last 30 days"],
|
| 123 |
["Delete duplicate rows based on email column"]
|
| 124 |
],
|
| 125 |
-
cache_examples=False, #
|
| 126 |
-
allow_flagging="never"
|
| 127 |
)
|
| 128 |
|
| 129 |
if __name__ == "__main__":
|
|
|
|
| 114 |
title="SQL Chatbot β Phi-3-mini fine-tuned",
|
| 115 |
description=(
|
| 116 |
"Ask questions about SQL queries.\n\n"
|
| 117 |
+
"Free CPU version β responses may take 30β120 seconds or more."
|
| 118 |
),
|
| 119 |
examples=[
|
| 120 |
["Find duplicate emails in users table"],
|
|
|
|
| 122 |
["Count total orders per customer in last 30 days"],
|
| 123 |
["Delete duplicate rows based on email column"]
|
| 124 |
],
|
| 125 |
+
cache_examples=False, # keep this
|
| 126 |
+
# allow_flagging="never" β REMOVE THIS LINE COMPLETELY
|
| 127 |
)
|
| 128 |
|
| 129 |
if __name__ == "__main__":
|