phamngoctukts commited on
Commit
56f14f1
·
verified ·
1 Parent(s): 676d022

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -10,8 +10,7 @@ import traceback
10
  from pydub import AudioSegment
11
  import librosa
12
  from utils.vad import get_speech_timestamps, collect_chunks, VadOptions
13
- from transformers import pipeline
14
- from transformers import AutoTokenizer, AutoModelForCausalLM, AutoModel
15
  import torch
16
  from huggingface_hub import login
17
  import os
 
10
  from pydub import AudioSegment
11
  import librosa
12
  from utils.vad import get_speech_timestamps, collect_chunks, VadOptions
13
+ from transformers import MllamaForConditionalGeneration, AutoProcessor, TextIteratorStreamer
 
14
  import torch
15
  from huggingface_hub import login
16
  import os