Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def gradio_interface():
|
|
| 77 |
annotations_file_path = os.path.join(selected_example_dir_path, "reading_annotation.json")
|
| 78 |
annotations = load_annotations(annotations_file_path)
|
| 79 |
annotated_images = render_annotations(annotations, selected_example_dir_path)
|
| 80 |
-
return
|
| 81 |
|
| 82 |
# Create Gradio interface
|
| 83 |
iface = gr.Interface(
|
|
|
|
| 77 |
annotations_file_path = os.path.join(selected_example_dir_path, "reading_annotation.json")
|
| 78 |
annotations = load_annotations(annotations_file_path)
|
| 79 |
annotated_images = render_annotations(annotations, selected_example_dir_path)
|
| 80 |
+
return annotated_images
|
| 81 |
|
| 82 |
# Create Gradio interface
|
| 83 |
iface = gr.Interface(
|