Jonny001 commited on
Commit
92444c0
·
verified ·
1 Parent(s): 0389d06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,12 +18,12 @@ def generate_image(text, model_name):
18
  interface = gr.Interface(
19
  fn=generate_image,
20
  inputs=[
21
- gr.Textbox(label="Type here your imagination:", placeholder="Type your description here..."),
22
- gr.Dropdown(label="Select Model", choices=list(models.keys()), type="value", default="Flux Lora")
23
  ],
24
  outputs=gr.Image(label="Generated Image"),
25
  theme="NoCrypt/miku",
26
  description="Sorry for the inconvenience. The model is currently running on the CPU, which might affect performance. We appreciate your understanding.",
27
  )
28
 
29
- interface.launch()
 
18
  interface = gr.Interface(
19
  fn=generate_image,
20
  inputs=[
21
+ gr.Textbox(label="Type here your Honny imagination 😁:", placeholder="Type your description here..."),
22
+ gr.Dropdown(label="Select Model", choices=list(models.keys()), value="Flux Lora")
23
  ],
24
  outputs=gr.Image(label="Generated Image"),
25
  theme="NoCrypt/miku",
26
  description="Sorry for the inconvenience. The model is currently running on the CPU, which might affect performance. We appreciate your understanding.",
27
  )
28
 
29
+ interface.launch()