Gijs Wijngaard
commited on
Commit
·
43282ee
1
Parent(s):
04a31f5
More requirements
Browse files- app.py +1 -2
- requirements.txt +3 -2
app.py
CHANGED
@@ -2,8 +2,7 @@ import os
|
|
2 |
import re
|
3 |
import gradio as gr
|
4 |
import torch
|
5 |
-
from transformers import AutoProcessor
|
6 |
-
from qwen import Qwen2AudioForConditionalGeneration
|
7 |
from peft import PeftModel, PeftConfig
|
8 |
|
9 |
# Model path and configuration
|
|
|
2 |
import re
|
3 |
import gradio as gr
|
4 |
import torch
|
5 |
+
from transformers import AutoProcessor, Qwen2AudioForConditionalGeneration
|
|
|
6 |
from peft import PeftModel, PeftConfig
|
7 |
|
8 |
# Model path and configuration
|
requirements.txt
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
gradio
|
2 |
torch
|
3 |
transformers
|
4 |
-
|
5 |
-
|
|
|
|
1 |
gradio
|
2 |
torch
|
3 |
transformers
|
4 |
+
peft
|
5 |
+
matplotlib
|
6 |
+
soundfile
|