Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ with gr.Blocks(title="Text to JSON Converter") as demo:
|
|
94 |
)
|
95 |
|
96 |
# Launch Gradio app
|
97 |
-
demo.launch()
|
98 |
|
99 |
# Cleanup (optional)
|
100 |
shutil.rmtree(converted_dir, ignore_errors=True)
|
|
|
94 |
)
|
95 |
|
96 |
# Launch Gradio app
|
97 |
+
demo.launch(trust_remote_code=True)
|
98 |
|
99 |
# Cleanup (optional)
|
100 |
shutil.rmtree(converted_dir, ignore_errors=True)
|