bryanzhou008 commited on
Commit
05065c1
·
verified ·
1 Parent(s): 7f9334d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
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()