javrtg commited on
Commit
6706ef4
·
1 Parent(s): de3fea8
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -27,7 +27,7 @@ gr.set_static_paths(paths=[ASSETS_DIR])
27
  method_img = (
28
  f"/gradio_api/file={quote(str((ASSETS_DIR / 'method_dark.png').resolve()))}"
29
  )
30
- description = dedent(f"""
31
  <div style="text-align: center;">
32
  <h1>
33
  AnyCalib:<br>
@@ -39,11 +39,6 @@ description = dedent(f"""
39
  <a href="https://scholar.google.com/citations?user=j_sMzokAAAAJ">Javier Civera</a><br>
40
  I3A, University of Zaragoza
41
  </h3>
42
- <img
43
- src="{method_img}"
44
- style="display: block; width: 60%; max-width: 900px; margin: 1rem auto;"
45
- alt="AnyCalib method overview"
46
- >
47
  <h3>
48
  Camera calibration from a single perspective/edited/distorted image using a freely chosen camera model<br>
49
  <a href="https://github.com/javrtg/AnyCalib">Code</a>
@@ -375,5 +370,5 @@ demo = build_demo()
375
  if __name__ == "__main__":
376
  demo.queue(max_size=8, default_concurrency_limit=1).launch(
377
  server_name="0.0.0.0",
378
- theme=gr.themes.Soft(),
379
  )
 
27
  method_img = (
28
  f"/gradio_api/file={quote(str((ASSETS_DIR / 'method_dark.png').resolve()))}"
29
  )
30
+ description = dedent("""
31
  <div style="text-align: center;">
32
  <h1>
33
  AnyCalib:<br>
 
39
  <a href="https://scholar.google.com/citations?user=j_sMzokAAAAJ">Javier Civera</a><br>
40
  I3A, University of Zaragoza
41
  </h3>
 
 
 
 
 
42
  <h3>
43
  Camera calibration from a single perspective/edited/distorted image using a freely chosen camera model<br>
44
  <a href="https://github.com/javrtg/AnyCalib">Code</a>
 
370
  if __name__ == "__main__":
371
  demo.queue(max_size=8, default_concurrency_limit=1).launch(
372
  server_name="0.0.0.0",
373
+ theme=gr.themes.Soft(), # type: ignore
374
  )