Spaces:
Sleeping
Sleeping
gospacedev
commited on
Commit
•
e9e8c95
1
Parent(s):
5ba294c
specify str variable for histories on transcibe function
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def generate(user_prompt, temperature=0.1, max_new_tokens=128, top_p=0.95, repet
|
|
53 |
|
54 |
|
55 |
@spaces.GPU(duration=60)
|
56 |
-
def transcribe(audio, formatted_history, instruct_history):
|
57 |
|
58 |
sr, y = audio
|
59 |
y = y.astype(np.float32)
|
|
|
53 |
|
54 |
|
55 |
@spaces.GPU(duration=60)
|
56 |
+
def transcribe(audio, formatted_history="""""", instruct_history = """"""):
|
57 |
|
58 |
sr, y = audio
|
59 |
y = y.astype(np.float32)
|