Cropinky commited on
Commit
29cf710
1 Parent(s): 33719d5

hana dugi push

Browse files
Files changed (2) hide show
  1. README.md +3 -3
  2. app.py +2 -2
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
- title: Hana_hanak_houses
3
- emoji: 🌍
4
- colorFrom: blue
5
  colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 2.9.4
1
  ---
2
+ title: Projected_GAN_art
3
+ emoji: 📈
4
+ colorFrom: pink
5
  colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 2.9.4
app.py CHANGED
@@ -13,8 +13,8 @@ def image_generation(model, number_of_images=1):
13
  #return f"generating {number_of_images} images from {model}"
14
  return img
15
  if __name__ == "__main__":
16
- description = "TODO: when generating only 1 image use an esrgan to increase its resolution \n TODO: allow generation of multiple images TODO: walk through input space video i have exams now c u in 2 weeks (:"
17
- inputs = gr.inputs.Radio([ "Impressionism", "Abstract Expressionism", "Cubism", "Pop Art", "Color Field", "Hana Hanak houses", "Hana Hanak houses - abstract expressionism", "Hana Hanak houses - color field"])
18
  outputs = gr.outputs.Image(label="Generated Image", type="pil")
19
  #outputs = "text"
20
  title = "Projected GAN for painting generation v0.2"
13
  #return f"generating {number_of_images} images from {model}"
14
  return img
15
  if __name__ == "__main__":
16
+ description = "This is a web demo of a projected GAN trained on ~30 pictures that contain houses that were painted by my dear friend Hana Hanak, check out the results for yourself. the abstract expressionism and color field models were initially trained on picutres from their perspective art directions and then transfer learned to Hana's houses "
17
+ inputs = gr.inputs.Radio(["Hana Hanak houses", "Hana Hanak houses - abstract expressionism", "Hana Hanak houses - color field"])
18
  outputs = gr.outputs.Image(label="Generated Image", type="pil")
19
  #outputs = "text"
20
  title = "Projected GAN for painting generation v0.2"