Yersel commited on
Commit
4ead390
1 Parent(s): 959e1eb

fix imports

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import subprocess
2
-
3
  # Ensure the required libraries are installed
4
  def install(package):
5
  subprocess.check_call([os.sys.executable, "-m", "pip", "install", package])
@@ -12,7 +12,6 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
12
  from huggingface_hub import login
13
  import torch
14
  import gradio as gr
15
- import os
16
  import spaces
17
 
18
  token = os.environ.get("HF_TOKEN_READ")
 
1
  import subprocess
2
+ import os
3
  # Ensure the required libraries are installed
4
  def install(package):
5
  subprocess.check_call([os.sys.executable, "-m", "pip", "install", package])
 
12
  from huggingface_hub import login
13
  import torch
14
  import gradio as gr
 
15
  import spaces
16
 
17
  token = os.environ.get("HF_TOKEN_READ")