Spaces:
Runtime error
Runtime error
update model
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import gradio as gr
|
|
10 |
text_generator = None
|
11 |
is_hugging_face = True
|
12 |
model_id = "google/gemma-2-9b-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")
|
16 |
device = "cuda"
|
|
|
10 |
text_generator = None
|
11 |
is_hugging_face = True
|
12 |
model_id = "google/gemma-2-9b-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")
|
16 |
device = "cuda"
|