Spaces:
Running
Running
Avijit Ghosh
commited on
Commit
·
a8356e2
1
Parent(s):
61b63e9
fixed gallery size
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def showmodal(evt: gr.SelectData):
|
|
105 |
screenshots = itemdic['Screenshots']
|
106 |
if isinstance(screenshots, list):
|
107 |
if len(screenshots) > 0:
|
108 |
-
gallery = gr.Gallery(screenshots, visible=True)
|
109 |
|
110 |
return [modal, titlemd, authormd, tagsmd, abstractmd, modelsmd, datasetmd, gallery]
|
111 |
|
|
|
105 |
screenshots = itemdic['Screenshots']
|
106 |
if isinstance(screenshots, list):
|
107 |
if len(screenshots) > 0:
|
108 |
+
gallery = gr.Gallery(screenshots, visible=True, height=500, object_fit="scale-down", interactive=False, show_share_button=False)
|
109 |
|
110 |
return [modal, titlemd, authormd, tagsmd, abstractmd, modelsmd, datasetmd, gallery]
|
111 |
|