TruVlad commited on
Commit
3793788
·
verified ·
1 Parent(s): 3c7795e
Files changed (1) hide show
  1. app.py +8 -10
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="Hasil Prediksi dan Rekomendasi"),
53
- title="Klasifikasi Tipe Rambut dan Rekomendasi Perawatan",
54
- description="Unggah gambar model rambut untuk mendapatkan prediksi tipe rambut (Curly, Dreadlocks, Kinky, Straight, Wavy) dan rekomendasi perawatan.",
55
- examples=[ # Opsional: Tambahkan contoh gambar untuk dicoba
56
- # Contoh gambar ini perlu ada di folder 'examples' di Spaces Anda
57
- # atau ganti dengan URL gambar publik jika ingin langsung dari internet
58
- # "./examples/curly_example.jpg",
59
- # "./examples/straight_example.jpg"
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