Junfeng5 commited on
Commit
970225d
·
verified ·
1 Parent(s): 5ba6a2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -19,8 +19,8 @@ os.system("wget -q https://huggingface.co/FoundationVision/unitok_tokenizer/reso
19
  PILtransform = transforms.ToPILImage()
20
 
21
  os.system("pip uninstall -y gradio")
22
- os.system("pip install gradio==4.43.0")
23
- # os.system("pip install gradio_client==1.3.0")
24
 
25
  import gradio as gr
26
 
@@ -272,11 +272,6 @@ with gr.Blocks(fill_height=True) as demo:
272
  ["A majestic Goddes of beauty, charming dressed in a regal, jeweled gown and ornate crown, her golden hair cascading down her back, in the style of Pino Daeni",5.0, 0.9,4096,0.99],
273
  ["A highly realistic, closeup photograph of a beautiful 35 year old redread woman writing in her journal, sitting on her balcony wearing warm, stylish outfits. Shot on a Canon EOS R5, the image boasts sharp focus and intricate details. The heartwarming scene conveys love, connection, and the crisp winter atmosphere, dramatic lighting.",5.0, 0.9,4096,0.99],
274
  ["Portrait of an asian woman. She has pink violet hair style with modern complex hairdressing. The background is dark with cyberpunk neon lights. Inspired by Cyberpunk 2077 and Blade Runner. Ultra realistic picture. To capture the image, you will use a fullframe DSLR or mirrorless camera with a highresolution sensor, an aperture of f2.8 or wider, and a shutter speed of 1500 second or faster. You will use natural light and reflectors to create a balanced and welllit image, and will experiment with different angles and compositions to create the most i",5.0, 0.9,4096,0.99],
275
- ["female character fantasy world, for fantasy story, protagonist, interesting and detailed clothes, beautiful, medieval fantasy cinematic shot photo taken by canon, photo taken by fuji, photo taken by kodak incredibly detailed, sharpen, details professional lighting , film lighting 350mm lightroom cinematography, hyper realism, cinematic, film quality",5.0, 0.9,4096,0.99],
276
- ["strawberries splashing, swirling liquid, realism, octane render, raytracing",5.0, 0.9,4096,0.99],
277
- ["hedgehog face, floating in space, wearing space suit no helmet, cinematic, 50mm f1.8, unreal engine 5",5.0, 0.9,4096,0.99],
278
- ["artificial intelligence, revolution, publishing, writer, hyperrealistic",5.0, 0.9,4096,0.99],
279
- ["A pig dressed as a mason, by Bill Gekas",5.0, 0.9,4096,0.99],
280
  ],
281
  stop_btn="Stop Generation",
282
  additional_inputs = [guidance_scale, temperature, top_K, top_P],
 
19
  PILtransform = transforms.ToPILImage()
20
 
21
  os.system("pip uninstall -y gradio")
22
+ os.system("pip install gradio==4.44.1")
23
+ os.system("pip install gradio_client==1.3.0")
24
 
25
  import gradio as gr
26
 
 
272
  ["A majestic Goddes of beauty, charming dressed in a regal, jeweled gown and ornate crown, her golden hair cascading down her back, in the style of Pino Daeni",5.0, 0.9,4096,0.99],
273
  ["A highly realistic, closeup photograph of a beautiful 35 year old redread woman writing in her journal, sitting on her balcony wearing warm, stylish outfits. Shot on a Canon EOS R5, the image boasts sharp focus and intricate details. The heartwarming scene conveys love, connection, and the crisp winter atmosphere, dramatic lighting.",5.0, 0.9,4096,0.99],
274
  ["Portrait of an asian woman. She has pink violet hair style with modern complex hairdressing. The background is dark with cyberpunk neon lights. Inspired by Cyberpunk 2077 and Blade Runner. Ultra realistic picture. To capture the image, you will use a fullframe DSLR or mirrorless camera with a highresolution sensor, an aperture of f2.8 or wider, and a shutter speed of 1500 second or faster. You will use natural light and reflectors to create a balanced and welllit image, and will experiment with different angles and compositions to create the most i",5.0, 0.9,4096,0.99],
 
 
 
 
 
275
  ],
276
  stop_btn="Stop Generation",
277
  additional_inputs = [guidance_scale, temperature, top_K, top_P],