papasega commited on
Commit
d4336ec
1 Parent(s): 11b9c31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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