Update app.py
Browse files
app.py
CHANGED
@@ -44,14 +44,14 @@ examples=[
|
|
44 |
interface = gr.Interface(
|
45 |
fn=generate_image,
|
46 |
inputs=[
|
47 |
-
gr.Textbox(label="
|
48 |
gr.Slider(minimum=0, maximum=10000, step=1, label="Seed (optional)")
|
49 |
],
|
50 |
outputs=gr.Image(label="Generated Image"),
|
51 |
title="Dzongkha Text to Image Generation",
|
52 |
examples=examples,
|
53 |
article="<h1>Created By:</h1>Mr. Karma Wangchuk<br>Lecturer<br>Information Technology Department<br>College of Science and Technology<br>Rinchending Phuentsholing<br>Chhukha Bhutan<br>",
|
54 |
-
description="
|
55 |
)
|
56 |
|
57 |
interface.launch()
|
|
|
44 |
interface = gr.Interface(
|
45 |
fn=generate_image,
|
46 |
inputs=[
|
47 |
+
gr.Textbox(label="Text to Image:", placeholder="Dzongkha text..."),
|
48 |
gr.Slider(minimum=0, maximum=10000, step=1, label="Seed (optional)")
|
49 |
],
|
50 |
outputs=gr.Image(label="Generated Image"),
|
51 |
title="Dzongkha Text to Image Generation",
|
52 |
examples=examples,
|
53 |
article="<h1>Created By:</h1>Mr. Karma Wangchuk<br>Lecturer<br>Information Technology Department<br>College of Science and Technology<br>Rinchending Phuentsholing<br>Chhukha Bhutan<br>",
|
54 |
+
description="The model is currently running on the CPU, which might affect performance.",
|
55 |
)
|
56 |
|
57 |
interface.launch()
|