Spaces:
Build error
Build error
Update Voicechat-Hindi/app.py
Browse files- Voicechat-Hindi/app.py +5 -2
Voicechat-Hindi/app.py
CHANGED
@@ -34,7 +34,7 @@ def main(audio: object) -> Tuple[str, str, str, object]:
|
|
34 |
return user_speech_text, bot_response_hi, bot_response_en, html
|
35 |
|
36 |
|
37 |
-
Interface(
|
38 |
fn=main,
|
39 |
inputs=[
|
40 |
Audio(
|
@@ -50,4 +50,7 @@ Interface(
|
|
50 |
],
|
51 |
live=True,
|
52 |
allow_flagging="never",
|
53 |
-
)
|
|
|
|
|
|
|
|
34 |
return user_speech_text, bot_response_hi, bot_response_en, html
|
35 |
|
36 |
|
37 |
+
interface = Interface(
|
38 |
fn=main,
|
39 |
inputs=[
|
40 |
Audio(
|
|
|
50 |
],
|
51 |
live=True,
|
52 |
allow_flagging="never",
|
53 |
+
)
|
54 |
+
|
55 |
+
if __name__ == '__main__':
|
56 |
+
interface.launch(debug=True)
|