An open API service indexing awesome lists of open source software.

https://github.com/avocardio/diffusedweather

Using Keras' Stable Diffusion for generating city images using coordinates and a live weather API. (Keras Community Prize Winner 2022)
https://github.com/avocardio/diffusedweather

german germany keras stablediffusion tensorflow weather wikidata winner

Last synced: 5 months ago
JSON representation

Using Keras' Stable Diffusion for generating city images using coordinates and a live weather API. (Keras Community Prize Winner 2022)

Awesome Lists containing this project

README

          

# Diffused Live Weather Cam (24/7) 📍
🏆 Keras Community Prize winner 2022 🏆


Using Keras' Stable Diffusion for generating city images using coordinates and a live weather API.

![Example](media/desc_light.png)

### a) Either use the [colab notebook](https://colab.research.google.com/drive/1irOU5eVUNFiOXXCkwgEBD4pzcdIbzCBs?usp=sharing)

### b) Or run locally:

#### 1. Clone the repository and navigate to the notebook
```bash
git clone https://github.com/avocardio/diffusedweather.git
```
#### 2. Install the dependencies by executing the cells in the notebook
```bash
!pip install tensorflow
!pip install keras-cv
!pip install pillow
!pip install numpy
!pip install matplotlib
!pip install sparqlwrapper
!pip install cdifflib
!pip install geopandas
!pip install Pillow
```
#### 3. Enter a german city in the last cell & run it:
```bash
prompt, coords, name = create_prompt("Hamburg")

plot(prompt, coords, name)
```

# Credits
We would like to thank [Keras](https://keras.io/) for the [Stable Diffusion](https://keras.io/guides/keras_cv/generate_images_with_stable_diffusion/) implementation and for the [Keras Community Prize](https://discuss.tensorflow.org/t/announcing-the-keras-community-prize-first-edition/13148/15).

By Cornelius Wolff & Maximilian Kalcher