Spaces:
Running
Running
Update app.py
#2
by
salehalmansour
- opened
app.py
CHANGED
@@ -65,12 +65,12 @@ button {color: white; background-color: #106BA3; border: none; border-radius: 5p
|
|
65 |
"""
|
66 |
|
67 |
# Define interface
|
68 |
-
title = "
|
69 |
-
description = "
|
70 |
iface = gr.Interface(
|
71 |
fn=generate_image,
|
72 |
inputs=[
|
73 |
-
gr.components.Textbox(lines=2, placeholder="
|
74 |
gr.components.Dropdown(choices=["Stable Diffusion v1.5",], label="Choose Model", value='Stable Diffusion v1.5'),
|
75 |
gr.components.Checkbox(label="Translate The Text Before Generating Image", value=False)
|
76 |
],
|
@@ -81,4 +81,4 @@ iface = gr.Interface(
|
|
81 |
css=css
|
82 |
)
|
83 |
# Launch the interface
|
84 |
-
iface.launch()
|
|
|
65 |
"""
|
66 |
|
67 |
# Define interface
|
68 |
+
title = "نموذج توليد الصور"
|
69 |
+
description = "اكتب وصف للصورة التي تود من النظام التوليدي انشاءها. على سبيل المثال: 'قطة ترتدي قبعة في مشهد شتوي'."
|
70 |
iface = gr.Interface(
|
71 |
fn=generate_image,
|
72 |
inputs=[
|
73 |
+
gr.components.Textbox(lines=2, placeholder="Enter the description of the image here..."),
|
74 |
gr.components.Dropdown(choices=["Stable Diffusion v1.5",], label="Choose Model", value='Stable Diffusion v1.5'),
|
75 |
gr.components.Checkbox(label="Translate The Text Before Generating Image", value=False)
|
76 |
],
|
|
|
81 |
css=css
|
82 |
)
|
83 |
# Launch the interface
|
84 |
+
iface.launch()
|