Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +4 -1
Gradio_UI.py
CHANGED
|
@@ -207,10 +207,13 @@ class GradioUI:
|
|
| 207 |
"application/pdf",
|
| 208 |
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
| 209 |
"text/plain",
|
|
|
|
|
|
|
|
|
|
| 210 |
],
|
| 211 |
):
|
| 212 |
"""
|
| 213 |
-
Handle file uploads, default allowed types are .pdf, .docx,
|
| 214 |
"""
|
| 215 |
import gradio as gr
|
| 216 |
|
|
|
|
| 207 |
"application/pdf",
|
| 208 |
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
| 209 |
"text/plain",
|
| 210 |
+
"image/png",
|
| 211 |
+
"image/jpeg",
|
| 212 |
+
"image/webp"
|
| 213 |
],
|
| 214 |
):
|
| 215 |
"""
|
| 216 |
+
Handle file uploads, default allowed types are .pdf, .docx, .txt, .jpg, .png, .webp
|
| 217 |
"""
|
| 218 |
import gradio as gr
|
| 219 |
|