Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,8 @@ import streamlit as st
|
|
2 |
from transformers import pipeline
|
3 |
from textblob import TextBlob
|
4 |
import pandas as pd
|
|
|
|
|
5 |
from googletrans import Translator
|
6 |
translator = Translator()
|
7 |
import os
|
|
|
2 |
from transformers import pipeline
|
3 |
from textblob import TextBlob
|
4 |
import pandas as pd
|
5 |
+
import pkg_resources
|
6 |
+
pkg_resources.require("googletrans==3.1.0a0")
|
7 |
from googletrans import Translator
|
8 |
translator = Translator()
|
9 |
import os
|