Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1084,17 +1084,18 @@ def create_interface() -> gr.Blocks():
|
|
1084 |
)
|
1085 |
|
1086 |
# Historical Data View
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
|
|
1098 |
|
1099 |
|
1100 |
|
|
|
1084 |
)
|
1085 |
|
1086 |
# Historical Data View
|
1087 |
+
with gr.Row(): # Line 1002
|
1088 |
+
with gr.Column(): # Line 1003 (Corrected indentation)
|
1089 |
+
historical_view_url = gr.Textbox(
|
1090 |
+
label="Select URL for Historical Data",
|
1091 |
+
placeholder="https://example.com",
|
1092 |
+
)
|
1093 |
+
historical_button = gr.Button("View Historical Data")
|
1094 |
+
historical_output = gr.Dataframe(
|
1095 |
+
headers=["ID", "URL", "Content Hash", "Change Detected"],
|
1096 |
+
label="Historical Data",
|
1097 |
+
interactive=False
|
1098 |
+
)
|
1099 |
|
1100 |
|
1101 |
|