Spaces:
Running
Running
Commit
·
b99c40c
1
Parent(s):
72c5156
add caching for preds
Browse files
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"
|