Spaces:
Running
Running
app.py
CHANGED
|
@@ -49,17 +49,15 @@ if __name__ == "__main__":
|
|
| 49 |
app = gr.Interface(
|
| 50 |
fn=be_happy,
|
| 51 |
inputs=gr.Image(type="numpy", label="Unggah Gambar Model Rambut"),
|
| 52 |
-
outputs=gr.Markdown(label="
|
| 53 |
-
title="
|
| 54 |
-
description="
|
| 55 |
-
examples=[ #
|
| 56 |
-
# Contoh
|
| 57 |
-
# atau
|
| 58 |
-
# "./
|
| 59 |
-
# "./
|
| 60 |
]
|
| 61 |
)
|
| 62 |
-
# Tambahkan baris ini untuk mengaktifkan antrean Gradio
|
| 63 |
-
#app.queue() # .launch() is missing!
|
| 64 |
app.queue().launch() # <= Added
|
| 65 |
|
|
|
|
| 49 |
app = gr.Interface(
|
| 50 |
fn=be_happy,
|
| 51 |
inputs=gr.Image(type="numpy", label="Unggah Gambar Model Rambut"),
|
| 52 |
+
outputs=gr.Markdown(label="# Rekomendasi"),
|
| 53 |
+
title="vibevoice/VibeVoice-7B",
|
| 54 |
+
description="vibevoice/VibeVoice-7B",
|
| 55 |
+
examples=[ # Opsiona
|
| 56 |
+
# Contoh
|
| 57 |
+
# atau
|
| 58 |
+
# "./example.jpg",
|
| 59 |
+
# "./examplese.jpg"
|
| 60 |
]
|
| 61 |
)
|
|
|
|
|
|
|
| 62 |
app.queue().launch() # <= Added
|
| 63 |
|