Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,21 +71,9 @@ iface = gr.Interface(
|
|
| 71 |
inputs=gr.File(label="Upload File"),
|
| 72 |
outputs=gr.Textbox(),
|
| 73 |
live=True,
|
| 74 |
-
theme="compact", # You can change the theme to "compact", "default", or "fluid"
|
| 75 |
-
layout="vertical",
|
| 76 |
title="File Processor",
|
| 77 |
description="Upload a CSV, PDF, or PPT file for processing.",
|
| 78 |
-
|
| 79 |
-
.upload-box {
|
| 80 |
-
margin-bottom: 20px;
|
| 81 |
-
}
|
| 82 |
-
.output-box {
|
| 83 |
-
margin-top: 20px;
|
| 84 |
-
}
|
| 85 |
-
.btn-group {
|
| 86 |
-
margin-top: 20px;
|
| 87 |
-
}
|
| 88 |
-
"""
|
| 89 |
)
|
| 90 |
|
| 91 |
submit_button = gr.Button("Submit", callback=lambda: iface.process())
|
|
|
|
| 71 |
inputs=gr.File(label="Upload File"),
|
| 72 |
outputs=gr.Textbox(),
|
| 73 |
live=True,
|
|
|
|
|
|
|
| 74 |
title="File Processor",
|
| 75 |
description="Upload a CSV, PDF, or PPT file for processing.",
|
| 76 |
+
theme="light", # You can change the theme to "light" or "dark"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
)
|
| 78 |
|
| 79 |
submit_button = gr.Button("Submit", callback=lambda: iface.process())
|