rafmacalaba commited on
Commit
b99c40c
·
1 Parent(s): 72c5156

add caching for preds

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -171,7 +171,7 @@ def _cached_predictions(state):
171
  return "📋 No predictions yet. Click **Submit** first."
172
  return json.dumps(state, indent=2)
173
 
174
- with gr.Blocks as demo:
175
  gr.Markdown("## Data Use Detector\n"
176
  "Adjust the sliders below to set thresholds, then:\n"
177
  "- **Submit** to highlight entities.\n"
 
171
  return "📋 No predictions yet. Click **Submit** first."
172
  return json.dumps(state, indent=2)
173
 
174
+ with gr.Blocks() as demo:
175
  gr.Markdown("## Data Use Detector\n"
176
  "Adjust the sliders below to set thresholds, then:\n"
177
  "- **Submit** to highlight entities.\n"