Di Zhang
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import spaces
|
|
4 |
import os
|
5 |
import gradio as gr
|
6 |
from transformers import LlamaForCausalLM, LlamaTokenizer
|
7 |
-
from huggingface_hub import hf_hub_download
|
8 |
|
9 |
# Load the model and tokenizer from Hugging Face
|
10 |
model_path = snapshot_download(
|
|
|
4 |
import os
|
5 |
import gradio as gr
|
6 |
from transformers import LlamaForCausalLM, LlamaTokenizer
|
7 |
+
from huggingface_hub import hf_hub_download, snapshot_download
|
8 |
|
9 |
# Load the model and tokenizer from Hugging Face
|
10 |
model_path = snapshot_download(
|