Spaces:
Sleeping
Sleeping
Raghu
commited on
Commit
·
ccb254e
1
Parent(s):
a9f5ee0
Disable Gradio API schema to avoid json_schema bool crash
Browse files
app.py
CHANGED
|
@@ -713,5 +713,6 @@ if __name__ == "__main__":
|
|
| 713 |
server_name="0.0.0.0",
|
| 714 |
server_port=7860,
|
| 715 |
show_error=True,
|
|
|
|
| 716 |
)
|
| 717 |
|
|
|
|
| 713 |
server_name="0.0.0.0",
|
| 714 |
server_port=7860,
|
| 715 |
show_error=True,
|
| 716 |
+
show_api=False, # disable API schema generation to avoid json_schema crash
|
| 717 |
)
|
| 718 |
|