Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import spaces
|
2 |
import gradio as gr
|
3 |
import transformers
|
@@ -5,8 +7,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
|
|
5 |
import torch
|
6 |
import os
|
7 |
import bitnet
|
8 |
-
|
9 |
-
torch.jit.script = lambda f: f
|
10 |
key = os.environ.get("key")
|
11 |
from huggingface_hub import login
|
12 |
login(key)
|
|
|
1 |
+
import torch
|
2 |
+
torch.jit.script = lambda f: f
|
3 |
import spaces
|
4 |
import gradio as gr
|
5 |
import transformers
|
|
|
7 |
import torch
|
8 |
import os
|
9 |
import bitnet
|
10 |
+
|
|
|
11 |
key = os.environ.get("key")
|
12 |
from huggingface_hub import login
|
13 |
login(key)
|