prithivMLmods commited on
Commit
76967ad
·
verified ·
1 Parent(s): ef09771

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -185,7 +185,6 @@ def generate_image_flux(
185
  return image_paths, seed
186
 
187
  # CHAT GENERATION FUNCTION (TEXT & MULTIMODAL)
188
-
189
  @spaces.GPU
190
  def generate(
191
  input_dict: dict,
@@ -315,15 +314,15 @@ demo = gr.ChatInterface(
315
  gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
316
  ],
317
  examples=[
318
- ["@image Chocolate dripping from a donut against a yellow background, in the style of hyper-realistic 8K"],
319
- ["@image Super Realism, High-resolution photograph, woman, UHD, photorealistic, shot on a Sony A7III --chaos 20 --ar 1:2 --style raw --stylize 250"],
320
  [{"text": "Extract JSON from the image", "files": ["examples/document.jpg"]}],
321
- ["@image Woman in a red jacket, snowy, in the style of hyper-realistic portraiture, caninecore, mountainous vistas, timeless beauty, palewave, iconic, distinctive noses --ar 72:101 --stylize 750 --v 6"],
322
- ["@image Super-realism, Purple Dreamy, a medium-angle shot of a young woman with long brown hair, wearing a pair of eye-level glasses, stands in front of a backdrop of purple and white lights. The womans eyes are closed, her lips are slightly parted, as if she is looking up at the sky. Her hair is cascading over her shoulders, framing her face. She is wearing a sleeveless top, adorned with tiny white dots, and a gold chain necklace around her neck. Her left earrings are dangling from her ears, adding a pop of color to the scene."],
323
- ["Python Program for Array Rotation"],
324
- ["@tts1 Who is Nikola Tesla, and why did he die?"],
325
  [{"text": "Summarize the letter", "files": ["examples/1.png"]}],
326
- ["@tts2 What causes rainbows to form?"],
327
  ],
328
  cache_examples=False,
329
  type="messages",
 
185
  return image_paths, seed
186
 
187
  # CHAT GENERATION FUNCTION (TEXT & MULTIMODAL)
 
188
  @spaces.GPU
189
  def generate(
190
  input_dict: dict,
 
314
  gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2),
315
  ],
316
  examples=[
317
+ [{"text": "@image Chocolate dripping from a donut against a yellow background, in the style of hyper-realistic 8K"}],
318
+ [{"text": "@image Super Realism, High-resolution photograph, woman, UHD, photorealistic, shot on a Sony A7III --chaos 20 --ar 1:2 --style raw --stylize 250"}],
319
  [{"text": "Extract JSON from the image", "files": ["examples/document.jpg"]}],
320
+ [{"text": "@image Woman in a red jacket, snowy, in the style of hyper-realistic portraiture, caninecore, mountainous vistas, timeless beauty, palewave, iconic, distinctive noses --ar 72:101 --stylize 750 --v 6"}],
321
+ [{"text": "@image Super-realism, Purple Dreamy, a medium-angle shot of a young woman with long brown hair, wearing a pair of eye-level glasses, stands in front of a backdrop of purple and white lights. The womans eyes are closed, her lips are slightly parted, as if she is looking up at the sky. Her hair is cascading over her shoulders, framing her face. She is wearing a sleeveless top, adorned with tiny white dots, and a gold chain necklace around her neck. Her left earrings are dangling from her ears, adding a pop of color to the scene."}],
322
+ [{"text": "Python Program for Array Rotation"}],
323
+ [{"text": "@tts1 Who is Nikola Tesla, and why did he die?"}],
324
  [{"text": "Summarize the letter", "files": ["examples/1.png"]}],
325
+ [{"text": "@tts2 What causes rainbows to form?"}],
326
  ],
327
  cache_examples=False,
328
  type="messages",