Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ from threading import Thread
|
|
8 |
import gradio as gr
|
9 |
|
10 |
text_generator = None
|
11 |
-
is_hugging_face =
|
12 |
-
model_id = "AXCXEPT/EZO-Common-
|
13 |
#model_id = "google/gemma-2-2b-it"
|
14 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
15 |
device = "auto" # torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
8 |
import gradio as gr
|
9 |
|
10 |
text_generator = None
|
11 |
+
is_hugging_face = False
|
12 |
+
model_id = "AXCXEPT/EZO-Common-27B-gemma-2-it"# too big
|
13 |
#model_id = "google/gemma-2-2b-it"
|
14 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
15 |
device = "auto" # torch.device("cuda" if torch.cuda.is_available() else "cpu")
|