Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,6 @@ from transformers import (
|
|
| 10 |
# --- DESKLIB TEXT DETECTOR ARCHITECTURE ---
|
| 11 |
class DesklibAIDetectionModel(PreTrainedModel):
|
| 12 |
config_class = AutoConfig
|
| 13 |
-
# NEW: Add this line to satisfy the latest Transformers internal checks
|
| 14 |
_tied_weights_keys = {}
|
| 15 |
|
| 16 |
def __init__(self, config):
|
|
@@ -52,7 +51,7 @@ tokenizer, text_model, img_pipeline, device = load_assets()
|
|
| 52 |
|
| 53 |
# --- UI INTERFACE ---
|
| 54 |
st.set_page_config(page_title="AIGC Late Fusion Detector", layout="wide")
|
| 55 |
-
st.title("
|
| 56 |
|
| 57 |
col_in, col_out = st.columns([1, 1])
|
| 58 |
|
|
|
|
| 10 |
# --- DESKLIB TEXT DETECTOR ARCHITECTURE ---
|
| 11 |
class DesklibAIDetectionModel(PreTrainedModel):
|
| 12 |
config_class = AutoConfig
|
|
|
|
| 13 |
_tied_weights_keys = {}
|
| 14 |
|
| 15 |
def __init__(self, config):
|
|
|
|
| 51 |
|
| 52 |
# --- UI INTERFACE ---
|
| 53 |
st.set_page_config(page_title="AIGC Late Fusion Detector", layout="wide")
|
| 54 |
+
st.title("OriSense")
|
| 55 |
|
| 56 |
col_in, col_out = st.columns([1, 1])
|
| 57 |
|