Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +4 -0
Gradio_UI.py
CHANGED
|
@@ -14,6 +14,10 @@
|
|
| 14 |
# See the License for the specific language governing permissions and
|
| 15 |
# limitations under the License.
|
| 16 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
import mimetypes
|
| 19 |
import re
|
|
|
|
| 14 |
# See the License for the specific language governing permissions and
|
| 15 |
# limitations under the License.
|
| 16 |
import os
|
| 17 |
+
from huggingface_hub import login
|
| 18 |
+
import os
|
| 19 |
+
|
| 20 |
+
login(token=os.environ["HUGGINGFACE_API_KEY"])
|
| 21 |
|
| 22 |
import mimetypes
|
| 23 |
import re
|