Spaces:
Runtime error
Runtime error
Olivier-Truong
commited on
Commit
•
90959c1
1
Parent(s):
fbc3e31
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ par.appendChild(text);
|
|
30 |
document.body.appendChild(par);
|
31 |
"""
|
32 |
|
33 |
-
def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, request: Request):
|
34 |
try:
|
35 |
print(request)
|
36 |
print(request.headers)
|
|
|
30 |
document.body.appendChild(par);
|
31 |
"""
|
32 |
|
33 |
+
def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, request: gr.Request):
|
34 |
try:
|
35 |
print(request)
|
36 |
print(request.headers)
|