Spaces:
Running
Running
restore configs.
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def query_update_table():
|
|
87 |
df['TYPE'] = df['main_id'].apply(lambda x: x.split(' ')[0].split('+')[0])
|
88 |
df = df.sort_values(by=['px', 'py'], ascending=[True, True]).reset_index(drop=True)
|
89 |
print(df)
|
90 |
-
df = df.iloc[:200]
|
91 |
global_dataframe = df # Store the dataframe globally for filtering
|
92 |
|
93 |
# Extract unique types from the "type" column
|
@@ -230,7 +230,7 @@ with gr.Blocks(css=".btn-green {background-color: green; color: white;}") as gui
|
|
230 |
interactive=True)
|
231 |
linewidth = gr.Slider(label="Linewidth", minimum=1, maximum=4, step=1, value=1,
|
232 |
interactive=True)
|
233 |
-
scale = gr.Slider(label="Scale", minimum=1, maximum=20, step=1, value=
|
234 |
interactive=True)
|
235 |
|
236 |
patch_color = gr.ColorPicker(label="Patch Color", value="#FFFFFF", interactive=True)
|
|
|
87 |
df['TYPE'] = df['main_id'].apply(lambda x: x.split(' ')[0].split('+')[0])
|
88 |
df = df.sort_values(by=['px', 'py'], ascending=[True, True]).reset_index(drop=True)
|
89 |
print(df)
|
90 |
+
#df = df.iloc[:200]
|
91 |
global_dataframe = df # Store the dataframe globally for filtering
|
92 |
|
93 |
# Extract unique types from the "type" column
|
|
|
230 |
interactive=True)
|
231 |
linewidth = gr.Slider(label="Linewidth", minimum=1, maximum=4, step=1, value=1,
|
232 |
interactive=True)
|
233 |
+
scale = gr.Slider(label="Scale", minimum=1, maximum=20, step=1, value=10,
|
234 |
interactive=True)
|
235 |
|
236 |
patch_color = gr.ColorPicker(label="Patch Color", value="#FFFFFF", interactive=True)
|