Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesadd login for private repos
app.py
CHANGED
@@ -2,6 +2,9 @@ import os
|
|
2 |
import subprocess
|
3 |
import gradio as gr
|
4 |
from magika import Magika
|
|
|
|
|
|
|
5 |
|
6 |
SUPPORTED_FILE_TYPES = ["txt", "python", "markdown", "yaml", "json", "csv", "tsv", "xml", "html"]
|
7 |
|
|
|
2 |
import subprocess
|
3 |
import gradio as gr
|
4 |
from magika import Magika
|
5 |
+
from huggingface_hub import login
|
6 |
+
|
7 |
+
login()
|
8 |
|
9 |
SUPPORTED_FILE_TYPES = ["txt", "python", "markdown", "yaml", "json", "csv", "tsv", "xml", "html"]
|
10 |
|