Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -784,7 +784,7 @@ with gr.Blocks(
|
|
784 |
|
785 |
result_table = gr.Dataframe(
|
786 |
headers=["Name", "Address", "Location", "Price", "Cuisine", "Award", "Description"],
|
787 |
-
row_count=
|
788 |
col_count=7,
|
789 |
interactive=False,
|
790 |
)
|
@@ -824,7 +824,7 @@ with gr.Blocks(
|
|
824 |
r['Price'], r['Cuisine'], r['Award'],
|
825 |
r['Description']
|
826 |
])
|
827 |
-
if len(filtered) >=
|
828 |
break
|
829 |
|
830 |
return filtered
|
|
|
784 |
|
785 |
result_table = gr.Dataframe(
|
786 |
headers=["Name", "Address", "Location", "Price", "Cuisine", "Award", "Description"],
|
787 |
+
row_count=100,
|
788 |
col_count=7,
|
789 |
interactive=False,
|
790 |
)
|
|
|
824 |
r['Price'], r['Cuisine'], r['Award'],
|
825 |
r['Description']
|
826 |
])
|
827 |
+
if len(filtered) >= 100: # 최대 10개 결과로 제한
|
828 |
break
|
829 |
|
830 |
return filtered
|