Update app.py
Browse files29 unmodified lines3031323334353629 unmodified lineswhisper_model = WhisperForConditionalGeneration.from_pretrained(whisper_model_name).to(device)# Load the Qwen model and tokenizerqwen_model_name = "Qwen/Qwen2.5-3B-Instruct"qwen_tokenizer = AutoTokenizer.from_pretrained(qwen_model_name, trust_remote_code=True)qwen_model = AutoModelForCausalLM.from_pretrained(qwen_model_name, trust_remote_code=True).to(device)29 unmodified lines3031323334353629 unmodified lineswhisper_model = WhisperForConditionalGeneration.from_pretrained(whisper_model_name).to(device)# Load the Qwen model and tokenizerqwen_model_name = "Qwen/Qwen2.5-1.5B-Instruct"qwen_tokenizer = AutoTokenizer.from_pretrained(qwen_model_name, trust_remote_code=True)qwen_model = AutoModelForCausalLM.from_pretrained(qwen_model_name, trust_remote_code=True).to(device)
app.py+1-1