saadkhi commited on
Commit
9158eaa
Β·
verified Β·
1 Parent(s): 302ddd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- "ZeroGPU version – first response may take 10–60 seconds (cold start)."
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, # Very important for ZeroGPU
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__":