prithivMLmods commited on
Commit
78bb69e
·
verified ·
1 Parent(s): e6261e6

update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -146,7 +146,7 @@ tts_processor = VibeVoiceStreamingProcessor.from_pretrained(TTS_MODEL_PATH)
146
  tts_model = VibeVoiceStreamingForConditionalGenerationInference.from_pretrained(
147
  TTS_MODEL_PATH,
148
  torch_dtype=torch.float16,
149
- device_map="cpu",
150
  attn_implementation="sdpa",
151
  )
152
  tts_model.eval()
@@ -350,7 +350,7 @@ image_examples = [
350
  ["Extract the contents. [page].", "examples/2.jpg"],
351
  ]
352
 
353
- with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
354
  gr.Markdown("# **Vision-to-VibeVoice-en**", elem_id="main-title")
355
 
356
  with gr.Row():
 
146
  tts_model = VibeVoiceStreamingForConditionalGenerationInference.from_pretrained(
147
  TTS_MODEL_PATH,
148
  torch_dtype=torch.float16,
149
+ device_map="cuda",
150
  attn_implementation="sdpa",
151
  )
152
  tts_model.eval()
 
350
  ["Extract the contents. [page].", "examples/2.jpg"],
351
  ]
352
 
353
+ with gr.Blocks() as demo:
354
  gr.Markdown("# **Vision-to-VibeVoice-en**", elem_id="main-title")
355
 
356
  with gr.Row():