Spaces:
Runtime error
Runtime error
debug
Browse files
app.py
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
# %%
|
|
|
|
|
2 |
import gradio as gr
|
3 |
from transformers import LlamaTokenizer
|
4 |
from transformers import LlamaForCausalLM, GenerationConfig
|
|
|
1 |
# %%
|
2 |
+
import os
|
3 |
+
os.environ["CUDA_VISIBLE_DEVICES"] = ""
|
4 |
import gradio as gr
|
5 |
from transformers import LlamaTokenizer
|
6 |
from transformers import LlamaForCausalLM, GenerationConfig
|