Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,10 +27,11 @@
|
|
27 |
|
28 |
# demo.launch(share=True, show_error=True)
|
29 |
import httpcore
|
30 |
-
setattr(httpcore, 'SyncHTTPTransport', any)
|
31 |
import gradio as gr
|
32 |
from transformers import pipeline
|
33 |
import numpy as np
|
|
|
|
|
34 |
from googletrans import Translator
|
35 |
|
36 |
# Initialisation du modèle de transcription
|
|
|
27 |
|
28 |
# demo.launch(share=True, show_error=True)
|
29 |
import httpcore
|
|
|
30 |
import gradio as gr
|
31 |
from transformers import pipeline
|
32 |
import numpy as np
|
33 |
+
setattr(httpcore, 'SyncHTTPTransport', object)
|
34 |
+
|
35 |
from googletrans import Translator
|
36 |
|
37 |
# Initialisation du modèle de transcription
|