Mubarak2507 commited on
Commit
358fb0c
·
verified ·
1 Parent(s): 62d3e40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -6
app.py CHANGED
@@ -114,17 +114,22 @@ with gr.Blocks(css=CSS) as demo:
114
 
115
  **Features**
116
  - **Hate Speech Classification**
117
- - **Dialect Detection** [MAGHREB (North African dialects),
118
- LEV (Levantine dialects),
119
- MSA (Modern Standard Arabic),
120
- GLF (Gulf dialects),
121
- EGY (Egyptian Arabic)]
122
  - **Threat Severity Score**
123
  - **Recommended Action** (rule-based)
124
 
125
  **How to Use**
126
  - Type text or
127
  - Upload a .txt file (one entry per line)
 
 
 
 
 
 
 
 
 
128
  """)
129
 
130
  # Main area
@@ -165,6 +170,7 @@ with gr.Blocks(css=CSS) as demo:
165
  inputs=file_input,
166
  outputs=[table, download_csv, status]
167
  )
168
-
169
  if __name__ == "__main__":
170
  demo.launch()
 
 
114
 
115
  **Features**
116
  - **Hate Speech Classification**
117
+ - **Dialect Detection**
 
 
 
 
118
  - **Threat Severity Score**
119
  - **Recommended Action** (rule-based)
120
 
121
  **How to Use**
122
  - Type text or
123
  - Upload a .txt file (one entry per line)
124
+
125
+ ### Dialect Abbreviation Guide
126
+ | Abbreviation | Meaning |
127
+ |--------------|---------|
128
+ | **MAGHREB** | North African dialects |
129
+ | **LEV** | Levantine dialects |
130
+ | **MSA** | Modern Standard Arabic |
131
+ | **GLF** | Gulf dialects |
132
+ | **EGY** | Egyptian Arabic |
133
  """)
134
 
135
  # Main area
 
170
  inputs=file_input,
171
  outputs=[table, download_csv, status]
172
  )
173
+
174
  if __name__ == "__main__":
175
  demo.launch()
176
+