Update app.py
Browse files
app.py
CHANGED
|
@@ -785,7 +785,7 @@ def create_interface():
|
|
| 785 |
|
| 786 |
.gr-textbox textarea:focus,
|
| 787 |
.gr-textbox input:focus {
|
| 788 |
-
|
| 789 |
outline: none !important;
|
| 790 |
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
|
| 791 |
}
|
|
@@ -1310,16 +1310,13 @@ if __name__ == "__main__":
|
|
| 1310 |
share=False,
|
| 1311 |
debug=False,
|
| 1312 |
show_error=True,
|
| 1313 |
-
|
| 1314 |
-
max_threads=10,
|
| 1315 |
-
auth=None, # Add authentication if needed
|
| 1316 |
favicon_path=None,
|
| 1317 |
ssl_keyfile=None,
|
| 1318 |
ssl_certfile=None,
|
| 1319 |
ssl_keyfile_password=None,
|
| 1320 |
height=800,
|
| 1321 |
-
prevent_thread_lock=False
|
| 1322 |
-
allowed_paths=[PDF_FOLDER_PATH]
|
| 1323 |
)
|
| 1324 |
except Exception as e:
|
| 1325 |
logger.error(f"Failed to launch interface: {e}")
|
|
|
|
| 785 |
|
| 786 |
.gr-textbox textarea:focus,
|
| 787 |
.gr-textbox input:focus {
|
| 788 |
+
border-color: var(--primary-color) !important;
|
| 789 |
outline: none !important;
|
| 790 |
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
|
| 791 |
}
|
|
|
|
| 1310 |
share=False,
|
| 1311 |
debug=False,
|
| 1312 |
show_error=True,
|
| 1313 |
+
auth=None,
|
|
|
|
|
|
|
| 1314 |
favicon_path=None,
|
| 1315 |
ssl_keyfile=None,
|
| 1316 |
ssl_certfile=None,
|
| 1317 |
ssl_keyfile_password=None,
|
| 1318 |
height=800,
|
| 1319 |
+
prevent_thread_lock=False
|
|
|
|
| 1320 |
)
|
| 1321 |
except Exception as e:
|
| 1322 |
logger.error(f"Failed to launch interface: {e}")
|