kh-CHEUNG commited on
Commit
a0e5ff6
·
verified ·
1 Parent(s): 9ff3c5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -166,11 +166,7 @@ with gr.Blocks() as profile_interface:
166
  #state = gr.State(elem_classes="status-container")
167
  profile_preview = gr.Markdown(label="Profile Results", value="")
168
 
169
- # Event Bindings
170
- lookup_btn.click(lookup_profile, None, None)
171
- clear_btn.click(lambda: profile_preview.update("")) #, state.update("", color=""))
172
- #assessment_id_input.change(lambda: state.update("", color=""), None, None)
173
-
174
  # Profile Interface
175
 
176
  # Transcribe Interface components
@@ -236,7 +232,11 @@ with gr.Blocks() as demo:
236
  """
237
 
238
  # Load existing profiles to Step 0: Profile tab page on startup
239
- load_profiles()
 
 
 
 
240
 
241
  def update_task_input(task_input_choice):
242
  if task_input_choice == "transcribe":
 
166
  #state = gr.State(elem_classes="status-container")
167
  profile_preview = gr.Markdown(label="Profile Results", value="")
168
 
169
+
 
 
 
 
170
  # Profile Interface
171
 
172
  # Transcribe Interface components
 
232
  """
233
 
234
  # Load existing profiles to Step 0: Profile tab page on startup
235
+ # Event Bindings
236
+ lookup_btn.click(lookup_profile, None, None)
237
+ clear_btn.click(lambda: profile_preview.update("")) #, state.update("", color=""))
238
+ #assessment_id_input.change(lambda: state.update("", color=""), None, None)
239
+
240
 
241
  def update_task_input(task_input_choice):
242
  if task_input_choice == "transcribe":