Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ def build_demo():
|
|
158 |
# Use 'bytes' so we load file content in memory.
|
159 |
file_output = gr.File(
|
160 |
label="Drag and drop JSON file judgment here",
|
161 |
-
type="
|
162 |
)
|
163 |
|
164 |
# We'll store the returned JSON object in uploaded_file (NOT the path).
|
|
|
158 |
# Use 'bytes' so we load file content in memory.
|
159 |
file_output = gr.File(
|
160 |
label="Drag and drop JSON file judgment here",
|
161 |
+
type="binary"
|
162 |
)
|
163 |
|
164 |
# We'll store the returned JSON object in uploaded_file (NOT the path).
|