Spaces:
Runtime error
Runtime error
lifeofcoding
commited on
Commit
•
60718b0
1
Parent(s):
955b037
trying to fix space
Browse files
app.py
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
-
from __future__ import annotations
|
2 |
-
from typing import Iterable
|
3 |
-
import gradio as gr
|
4 |
-
from gradio.themes.base import Base
|
5 |
-
from gradio.themes.utils import colors, fonts, sizes
|
6 |
-
|
7 |
import torch
|
8 |
from peft import PeftModel
|
9 |
import transformers
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
assert (
|
12 |
"LlamaTokenizer" in transformers._import_structure["models.llama"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import torch
|
2 |
from peft import PeftModel
|
3 |
import transformers
|
4 |
+
import gradio as gr
|
5 |
+
|
6 |
+
from typing import Iterable
|
7 |
+
from gradio.themes.base import Base
|
8 |
+
from gradio.themes.utils import colors, fonts, sizes
|
9 |
|
10 |
assert (
|
11 |
"LlamaTokenizer" in transformers._import_structure["models.llama"]
|