Spaces:
Running
Running
Commit
·
23f40e4
1
Parent(s):
3eb120b
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,15 +4,6 @@ from hypercorn.asyncio import serve
|
|
| 4 |
from hypercorn.config import Config
|
| 5 |
import os
|
| 6 |
os.environ['CURL_CA_BUNDLE'] = ''
|
| 7 |
-
|
| 8 |
-
def install_package():
|
| 9 |
-
command = "pip install git+https://github.com/johnpaulbin/googletranslate"
|
| 10 |
-
os.system(command)
|
| 11 |
-
|
| 12 |
-
install_package()
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
from googletranslate import translate
|
| 17 |
import json
|
| 18 |
import random
|
|
|
|
| 4 |
from hypercorn.config import Config
|
| 5 |
import os
|
| 6 |
os.environ['CURL_CA_BUNDLE'] = ''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
from googletranslate import translate
|
| 8 |
import json
|
| 9 |
import random
|