Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- 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():
|