Spaces:
Runtime error
Runtime error
Alexandre Huynh
commited on
Commit
·
d2d2033
1
Parent(s):
cb046d0
Fix pip install 2
Browse files
app.py
CHANGED
@@ -9,14 +9,14 @@ Original file is located at
|
|
9 |
# Chargement du modèle GPT-2 entrainé
|
10 |
"""
|
11 |
|
12 |
-
import pip
|
13 |
import subprocess
|
14 |
import sys
|
15 |
|
16 |
def install(package):
|
17 |
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
|
18 |
|
19 |
-
|
20 |
pip install gradio -q
|
21 |
pip install keras_nlp -q
|
22 |
|
|
|
9 |
# Chargement du modèle GPT-2 entrainé
|
10 |
"""
|
11 |
|
12 |
+
#import pip
|
13 |
import subprocess
|
14 |
import sys
|
15 |
|
16 |
def install(package):
|
17 |
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
|
18 |
|
19 |
+
install --upgrade typing-extensions
|
20 |
pip install gradio -q
|
21 |
pip install keras_nlp -q
|
22 |
|