Rohan Kumar commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -968,23 +968,25 @@ Your responses have been saved. Thank you for your contribution!
|
|
| 968 |
*Feel free to annotate another batch using the button below.*
|
| 969 |
"""
|
| 970 |
return (
|
| 971 |
-
gr.update(visible=False),
|
| 972 |
-
gr.update(visible=False),
|
| 973 |
-
gr.update(visible=True),
|
| 974 |
-
|
| 975 |
-
|
| 976 |
-
|
| 977 |
-
gr.update(value=
|
|
|
|
| 978 |
)
|
| 979 |
|
| 980 |
return (
|
| 981 |
-
gr.update(visible=False),
|
| 982 |
-
gr.update(visible=
|
| 983 |
-
gr.update(visible=
|
| 984 |
-
|
| 985 |
-
|
| 986 |
-
|
| 987 |
-
gr.update(value=""),
|
|
|
|
| 988 |
)
|
| 989 |
|
| 990 |
def restart():
|
|
|
|
| 968 |
*Feel free to annotate another batch using the button below.*
|
| 969 |
"""
|
| 970 |
return (
|
| 971 |
+
gr.update(visible=False), # col_welcome
|
| 972 |
+
gr.update(visible=False), # col_rating
|
| 973 |
+
gr.update(visible=True), # col_done
|
| 974 |
+
name, # s_name ✅ FIX
|
| 975 |
+
items, # s_items
|
| 976 |
+
next_idx, # s_idx
|
| 977 |
+
gr.update(value=""), # q_html
|
| 978 |
+
gr.update(value=completion_text), # done_md
|
| 979 |
)
|
| 980 |
|
| 981 |
return (
|
| 982 |
+
gr.update(visible=False), # col_welcome
|
| 983 |
+
gr.update(visible=False), # col_rating
|
| 984 |
+
gr.update(visible=True), # col_done
|
| 985 |
+
name, # s_name ✅ FIX
|
| 986 |
+
items, # s_items
|
| 987 |
+
next_idx, # s_idx
|
| 988 |
+
gr.update(value=""), # q_html
|
| 989 |
+
gr.update(value=completion_text), # done_md
|
| 990 |
)
|
| 991 |
|
| 992 |
def restart():
|