jmercat commited on
Commit
8262f40
1 Parent(s): 0bb8dc5

import spaces first

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,10 +1,10 @@
 
1
  import gradio as gr
2
  from threading import Thread
3
  from transformers import AutoTokenizer, AutoModelForCausalLM, TextIteratorStreamer
4
  import torch
5
  from open_lm.hf import *
6
  from open_lm.precision import get_autocast
7
- import spaces
8
 
9
  # Define model options
10
  MODEL_OPTIONS = {
 
1
+ import spaces
2
  import gradio as gr
3
  from threading import Thread
4
  from transformers import AutoTokenizer, AutoModelForCausalLM, TextIteratorStreamer
5
  import torch
6
  from open_lm.hf import *
7
  from open_lm.precision import get_autocast
 
8
 
9
  # Define model options
10
  MODEL_OPTIONS = {