Spaces:
Sleeping
Sleeping
jedick
commited on
Commit
·
e41c71b
1
Parent(s):
cc65797
Revise messages for special random
Browse files- app_functions.py +2 -2
app_functions.py
CHANGED
|
@@ -276,7 +276,7 @@ def find_interesting_example(number_behind: int, units_behind: str):
|
|
| 276 |
if not page_title:
|
| 277 |
continue
|
| 278 |
|
| 279 |
-
gr.Info(f"Page
|
| 280 |
|
| 281 |
try:
|
| 282 |
# Initialize Logfire span
|
|
@@ -325,7 +325,7 @@ def find_interesting_example(number_behind: int, units_behind: str):
|
|
| 325 |
if confidence_score and confidence_score != "High":
|
| 326 |
# Found an interesting example
|
| 327 |
gr.Success(
|
| 328 |
-
"Interesting example - ready for your feedback", duration=None
|
| 329 |
)
|
| 330 |
return (
|
| 331 |
page_title,
|
|
|
|
| 276 |
if not page_title:
|
| 277 |
continue
|
| 278 |
|
| 279 |
+
gr.Info(f"Page {attempt + 1}: {page_title}", duration=20)
|
| 280 |
|
| 281 |
try:
|
| 282 |
# Initialize Logfire span
|
|
|
|
| 325 |
if confidence_score and confidence_score != "High":
|
| 326 |
# Found an interesting example
|
| 327 |
gr.Success(
|
| 328 |
+
f"Interesting example (page {attempt + 1}) - ready for your feedback", duration=None
|
| 329 |
)
|
| 330 |
return (
|
| 331 |
page_title,
|