Dave67350 commited on
Commit
85cf467
·
verified ·
1 Parent(s): 4cdf2a7

Update Gradio_UI.py

Browse files
Files changed (1) hide show
  1. Gradio_UI.py +2 -0
Gradio_UI.py CHANGED
@@ -151,6 +151,8 @@ def launch_step_by_step_ui():
151
 
152
  if not file_path:
153
  file_path = None
 
 
154
  return messages, updated_state, file_path
155
 
156
  def restart_conversation():
 
151
 
152
  if not file_path:
153
  file_path = None
154
+ if file_path is None:
155
+ file_path = ""
156
  return messages, updated_state, file_path
157
 
158
  def restart_conversation():