Stubbs0x commited on
Commit
e1ef9d9
·
verified ·
1 Parent(s): 34154dd

Update Gradio_UI.py

Browse files
Files changed (1) hide show
  1. 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, and .txt
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