Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -62,11 +62,12 @@ def on_select(data: gr.SelectData):
|
|
| 62 |
|
| 63 |
statement = gr.HTML('Show JA DebugRoom text if available<br>table of Lines: Index_Jpn_Eng')
|
| 64 |
with gr.Blocks() as demo:
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
|
|
|
| 71 |
|
| 72 |
demo.launch()
|
|
|
|
| 62 |
|
| 63 |
statement = gr.HTML('Show JA DebugRoom text if available<br>table of Lines: Index_Jpn_Eng')
|
| 64 |
with gr.Blocks() as demo:
|
| 65 |
+
with gr.Row():
|
| 66 |
+
for na in nalz:
|
| 67 |
+
ymg=na[0]
|
| 68 |
+
with gr.Tab(na[1]):
|
| 69 |
+
gallery = gr.Gallery(gengali(ymg),columns=4,height=1024)
|
| 70 |
+
gallery.select(on_select, None, statement)
|
| 71 |
+
statement.render()
|
| 72 |
|
| 73 |
demo.launch()
|