Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,10 +11,6 @@ import argparse
|
|
11 |
|
12 |
import gradio as gr
|
13 |
|
14 |
-
from huggingface_hub import HfFolder
|
15 |
-
from transformers import AutoModel
|
16 |
-
|
17 |
-
HfFolder.save_token('your_hf_api_token_here')
|
18 |
|
19 |
def encode_image(image_path):
|
20 |
with open(image_path, "rb") as image_file:
|
@@ -95,4 +91,4 @@ iface = gr.Interface(
|
|
95 |
)
|
96 |
|
97 |
if __name__ == "__main__":
|
98 |
-
iface.launch()
|
|
|
11 |
|
12 |
import gradio as gr
|
13 |
|
|
|
|
|
|
|
|
|
14 |
|
15 |
def encode_image(image_path):
|
16 |
with open(image_path, "rb") as image_file:
|
|
|
91 |
)
|
92 |
|
93 |
if __name__ == "__main__":
|
94 |
+
iface.launch()
|