MeowSky49887 commited on
Commit
742f067
·
verified ·
1 Parent(s): aa8ef59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -3,6 +3,7 @@ import base64
3
  import math
4
  import random
5
  import re
 
6
  import yaml
7
  import uvicorn
8
  import httpx
@@ -326,14 +327,14 @@ async def play():
326
  title=app.title,
327
  version=app.version,
328
  openapi_version=app.openapi_version,
329
- summary=app.summary,
330
- description=app.description,
331
- terms_of_service=app.terms_of_service,
332
- contact=app.contact,
333
- license_info=app.license_info,
 
334
  routes=app.routes,
335
  webhooks=app.webhooks.routes,
336
- tags=app.openapi_tags,
337
  servers=app.servers,
338
  separate_input_output_schemas=app.separate_input_output_schemas,
339
  )
@@ -352,8 +353,6 @@ async def play():
352
  "scheme": "basic"
353
  }
354
  }
355
-
356
- display["tags"] = []
357
 
358
  html = f"""
359
  <!DOCTYPE html>
 
3
  import math
4
  import random
5
  import re
6
+ import json
7
  import yaml
8
  import uvicorn
9
  import httpx
 
327
  title=app.title,
328
  version=app.version,
329
  openapi_version=app.openapi_version,
330
+ summary="",
331
+ description="",
332
+ terms_of_service="",
333
+ contact="",
334
+ license_info="",
335
+ tags="",
336
  routes=app.routes,
337
  webhooks=app.webhooks.routes,
 
338
  servers=app.servers,
339
  separate_input_output_schemas=app.separate_input_output_schemas,
340
  )
 
353
  "scheme": "basic"
354
  }
355
  }
 
 
356
 
357
  html = f"""
358
  <!DOCTYPE html>