Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,12 @@ with gr.Blocks() as iface:
|
|
150 |
gdpr_checkbox = gr.Checkbox(label="GDPR (EU)")
|
151 |
ferpa_checkbox = gr.Checkbox(label="FERPA (US)")
|
152 |
coppa_checkbox = gr.Checkbox(label="COPPA (US <13)")
|
153 |
-
|
|
|
|
|
|
|
|
|
|
|
154 |
gr.Markdown("Optional: upload additional PDFs if needed (national regulation, school policy)")
|
155 |
additional_pdfs = gr.File(
|
156 |
file_count="multiple",
|
@@ -186,12 +191,4 @@ with gr.Blocks() as iface:
|
|
186 |
outputs=[rag_output, gemini_output, final_output]
|
187 |
)
|
188 |
|
189 |
-
|
190 |
-
css = """
|
191 |
-
#file_upload {
|
192 |
-
max-height: 100px;
|
193 |
-
overflow-y: auto;
|
194 |
-
}
|
195 |
-
"""
|
196 |
-
|
197 |
-
iface.launch(css=css)
|
|
|
150 |
gdpr_checkbox = gr.Checkbox(label="GDPR (EU)")
|
151 |
ferpa_checkbox = gr.Checkbox(label="FERPA (US)")
|
152 |
coppa_checkbox = gr.Checkbox(label="COPPA (US <13)")
|
153 |
+
css = """
|
154 |
+
#file_upload {
|
155 |
+
max-height: 100px;
|
156 |
+
overflow-y: auto;
|
157 |
+
}
|
158 |
+
"""
|
159 |
gr.Markdown("Optional: upload additional PDFs if needed (national regulation, school policy)")
|
160 |
additional_pdfs = gr.File(
|
161 |
file_count="multiple",
|
|
|
191 |
outputs=[rag_output, gemini_output, final_output]
|
192 |
)
|
193 |
|
194 |
+
iface.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|