Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -182,8 +182,8 @@ def clear_protein_input(in_fragments):
|
|
| 182 |
|
| 183 |
def click_on_example(example):
|
| 184 |
fragment_fname, target_fname = example
|
| 185 |
-
fragment_path =
|
| 186 |
-
target_path =
|
| 187 |
return [fragment_path, target_path] + show_input(fragment_path, target_path)
|
| 188 |
|
| 189 |
|
|
|
|
| 182 |
|
| 183 |
def click_on_example(example):
|
| 184 |
fragment_fname, target_fname = example
|
| 185 |
+
fragment_path = fragment_fname if fragment_fname != '' else None
|
| 186 |
+
target_path = target_fname if target_fname != '' else None
|
| 187 |
return [fragment_path, target_path] + show_input(fragment_path, target_path)
|
| 188 |
|
| 189 |
|