Update app.py
Browse files
app.py
CHANGED
@@ -526,7 +526,7 @@ def log_information(result_gallery):
|
|
526 |
if result_gallery is not None:
|
527 |
for i, result in enumerate(result_gallery):
|
528 |
print(result[0])
|
529 |
-
|
530 |
def on_select_result(result_slider, result_gallery, evt: gr.SelectData):
|
531 |
print('on_select_result')
|
532 |
if result_gallery is not None:
|
@@ -553,7 +553,7 @@ def on_select_result(result_slider, result_gallery, evt: gr.SelectData):
|
|
553 |
except Exception as e:
|
554 |
print(f"Error in on_select_result: {str(e)}")
|
555 |
return [None, None] # その他の例外処理
|
556 |
-
|
557 |
|
558 |
|
559 |
title_html = """
|
|
|
526 |
if result_gallery is not None:
|
527 |
for i, result in enumerate(result_gallery):
|
528 |
print(result[0])
|
529 |
+
|
530 |
def on_select_result(result_slider, result_gallery, evt: gr.SelectData):
|
531 |
print('on_select_result')
|
532 |
if result_gallery is not None:
|
|
|
553 |
except Exception as e:
|
554 |
print(f"Error in on_select_result: {str(e)}")
|
555 |
return [None, None] # その他の例外処理
|
556 |
+
'''
|
557 |
|
558 |
|
559 |
title_html = """
|