File size: 4,574 Bytes
5608539 21dae66 5608539 21dae66 5608539 bdca969 21dae66 bdca969 21dae66 bdca969 5608539 bdca969 5608539 bdca969 5608539 bdca969 21dae66 bdca969 5608539 bdca969 21dae66 bdca969 5608539 bdca969 5608539 bdca969 5608539 bdca969 21dae66 bdca969 a63231d 5608539 21dae66 5608539 21dae66 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
import gradio as gr
from dotenv import load_dotenv
import os
load_dotenv()
PATH = os.getcwd() + "/"
PATH_ASSETS = os.getenv("PATH_ASSETS")
PATH_ICONS = PATH + PATH_ASSETS + "icons/"
credits_text = """
# Credits
This work stemmed from a fruitful collaboration between SDSC and FIWI.
## Scientific Expertise : FIWI from UniBE
From the [Institute for Fish and Wildlife Health, University of Bern](https://www.fiwi.vetsuisse.unibe.ch)
- **Isabelle Wethli**
- **Dr. Mirjam Pewsner**
- **Dr. Saskia Keller**
## Front End Development: SDSC
From the [Swiss Data Science Center](https://www.datascience.ch)
- **Carlos Viviar Rios**
- **Laure Vancauwenberghe**
## How to Contact Us?
Please reach out to FIWI via [their contacts](https://www.fiwi.vetsuisse.unibe.ch/about_us/team/index_eng.html).
## Special Thanks
- **Vogelwarte** for their advice, especially Samuel Wechsler.
- **Biolovision SA**, providers of **ornitho.ch**, for their collaboration: circumstances are matched to their current data collection schema on ornitho.ch
"""
icons_text = """
### Icons' Attributions
(scroll to see all)
Biolovision for the circumstances icons.
flying-doves-group: <a href="https://www.flaticon.com/free-icons/animal" title="animal icons">Animal icons created by Freepik - Flaticon</a>
Pigeon: <a href="https://www.flaticon.com/free-icons/bird" title="bird icons">Bird icons created by Freepik - Flaticon</a>
Bird: <a href="https://www.flaticon.com/free-icons/bird" title="bird icons">Bird icons created by PLANBSTUDIO - Flaticon</a>
Medical app: <a href="https://www.flaticon.com/free-icons/health" title="health icons">Health icons created by Smashicons - Flaticon</a>
Pin: <a href="https://www.flaticon.com/free-icons/google-maps" title="google maps icons">Google maps icons created by Creatype - Flaticon</a>
Cardiograms: <a href="https://www.flaticon.com/free-icons/medical" title="medical icons">Medical icons created by Freepik - Flaticon</a>
Swallow: <a href="https://www.flaticon.com/free-icons/swallow" title="swallow icons">Swallow icons created by Freepik - Flaticon</a>
Chicken: <a href="https://www.flaticon.com/free-icons/chicken" title="chicken icons">Chicken icons created by Freepik - Flaticon</a>
eye: <a href="https://www.flaticon.com/free-icons/healthcare-and-medical" title="healthcare and medical icons">Healthcare and medical icons created by juicy_fish - Flaticon</a>
neuron: <a href="https://www.flaticon.com/free-icons/neuron" title="neuron icons">Neuron icons created by manshagraphics - Flaticon</a>
impact: <a href="https://www.flaticon.com/free-icons/consequence" title="consequence icons">Consequence icons created by Awicon - Flaticon</a>
schedule: <a href="https://www.flaticon.com/free-icons/follow-up" title="follow up icons">Follow up icons created by iconsitee - Flaticon</a>
Effective: <a href="https://www.flaticon.com/free-icons/cog" title="cog icons">Cog icons created by monkik - Flaticon</a>
correct: <a href="https://www.flaticon.com/fr/icones-gratuites/termine" title="termin茅 ic么nes">Termin茅 ic么nes cr茅茅es par kliwir art - Flaticon</a>
supprimer: <a href="https://www.flaticon.com/fr/icones-gratuites/faux" title="faux ic么nes">Faux ic么nes cr茅茅es par hqrloveq - Flaticon</a>
balai-magique: <a href="https://www.flaticon.com/fr/icones-gratuites/la-magie" title="la magie ic么nes">La magie ic么nes cr茅茅es par Freepik - Flaticon</a>
contact-information: <a href="https://www.flaticon.com/free-icons/contact-information" title="contact information icons">Contact information icons created by Freepik - Flaticon</a>
help: <a href="https://www.flaticon.com/free-icons/help" title="help icons">Help icons created by Freepik - Flaticon</a>
question: <a href="https://www.flaticon.com/free-icons/question" title="question icons">Question icons created by Freepik - Flaticon</a>
"""
with gr.Blocks(theme="shivi/calm_seafoam") as about:
with gr.Row(scale=1):
gr.Image(
PATH_ICONS + "sdsc.png",
height=200,
interactive=False,
show_fullscreen_button=False,
show_share_button=False,
show_download_button=False,
show_label=False,
)
gr.Image(
PATH_ICONS + "fiwi.png",
height=200,
interactive=False,
show_fullscreen_button=False,
show_share_button=False,
show_download_button=False,
show_label=False,
)
gr.Markdown(credits_text, show_label=False)
gr.Markdown(icons_text, show_label=False, height=100)
|