Spaces:
Build error
Build error
app.py
CHANGED
@@ -12,7 +12,7 @@ headers = {"Authorization": f"Bearer {HF_TOKEN}"}
|
|
12 |
|
13 |
def fun(audio) : #, state=''):
|
14 |
text1 = model.transcribe(audio)["text"]
|
15 |
-
text2 = lang_model_response(
|
16 |
return text1, text2
|
17 |
|
18 |
def lang_model_response(prompt):
|
|
|
12 |
|
13 |
def fun(audio) : #, state=''):
|
14 |
text1 = model.transcribe(audio)["text"]
|
15 |
+
text2 = lang_model_response(text1)
|
16 |
return text1, text2
|
17 |
|
18 |
def lang_model_response(prompt):
|