Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ text_interface = gr.Interface(
|
|
| 117 |
|
| 118 |
# File Processing Tab
|
| 119 |
file_tab_inputs = [
|
| 120 |
-
gr.File(label="Upload File", type="
|
| 121 |
gr.Dropdown(
|
| 122 |
["image-classification", "object-detection", "automatic-speech-recognition", "pdf", "video"],
|
| 123 |
label="Select File Task",
|
|
|
|
| 117 |
|
| 118 |
# File Processing Tab
|
| 119 |
file_tab_inputs = [
|
| 120 |
+
gr.File(label="Upload File", type="filepath", file_types=[".pdf", ".mp3", ".wav", ".jpg", ".jpeg", ".png", ".mov", ".mp4"]),
|
| 121 |
gr.Dropdown(
|
| 122 |
["image-classification", "object-detection", "automatic-speech-recognition", "pdf", "video"],
|
| 123 |
label="Select File Task",
|