vilarin commited on
Commit
ed629f3
·
verified ·
1 Parent(s): 0e8c288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,12 +1,11 @@
1
-
 
2
  import subprocess
3
  import shlex
4
  if os.getenv('SYSTEM') == 'spaces':
5
  git_repo = "https://github.com/huggingface/transformers.git"
6
  subprocess.call(shlex.split(f'pip install git+{git_repo}'))
7
 
8
- import spaces
9
- import os
10
  import time
11
  import torch
12
  from transformers import OlmoeForCausalLM, AutoTokenizer, TextIteratorStreamer
 
1
+ import spaces
2
+ import os
3
  import subprocess
4
  import shlex
5
  if os.getenv('SYSTEM') == 'spaces':
6
  git_repo = "https://github.com/huggingface/transformers.git"
7
  subprocess.call(shlex.split(f'pip install git+{git_repo}'))
8
 
 
 
9
  import time
10
  import torch
11
  from transformers import OlmoeForCausalLM, AutoTokenizer, TextIteratorStreamer