Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -594,7 +594,7 @@ def show_field(f: Field, index: int, data_collected):
|
|
| 594 |
# width_chars=115, height_px=520, show_border=False
|
| 595 |
# )
|
| 596 |
|
| 597 |
-
|
| 598 |
render_markdown_simple(os.path.join(input_repo_path, 'dialogues', value), height_px=720)
|
| 599 |
|
| 600 |
elif f.name == 'role_name' and value:
|
|
|
|
| 594 |
# width_chars=115, height_px=520, show_border=False
|
| 595 |
# )
|
| 596 |
|
| 597 |
+
if f.name == 'dialogue_name' and value:
|
| 598 |
render_markdown_simple(os.path.join(input_repo_path, 'dialogues', value), height_px=720)
|
| 599 |
|
| 600 |
elif f.name == 'role_name' and value:
|