Spaces:
Runtime error
Runtime error
Commit
·
0563fc2
1
Parent(s):
8fe3012
Update main.py
Browse files
main.py
CHANGED
@@ -10,7 +10,7 @@ app = FastAPI()
|
|
10 |
@app.get("/", response_model=None)
|
11 |
async def root():
|
12 |
return HTMLResponse(
|
13 |
-
content="""<iframe src="https://tracinginsights-f1-analysis.hf.space" frameborder="0" style="width:100%; height:100%;" scrolling="yes"></iframe>""",
|
14 |
status_code=200)
|
15 |
|
16 |
@app.get("/{year}/{race}/{session}", response_model=None)
|
|
|
10 |
@app.get("/", response_model=None)
|
11 |
async def root():
|
12 |
return HTMLResponse(
|
13 |
+
content="""<iframe src="https://tracinginsights-f1-analysis.hf.space" frameborder="0" style="width:100%; height:100%;" scrolling="yes" allowfullscreen:"yes"></iframe>""",
|
14 |
status_code=200)
|
15 |
|
16 |
@app.get("/{year}/{race}/{session}", response_model=None)
|