Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer, Trainer, TrainingArguments
|
3 |
from datasets import load_dataset
|
|
|
4 |
import os
|
5 |
|
6 |
# Retrieve the Hugging Face token from the Space secrets
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer, Trainer, TrainingArguments
|
3 |
from datasets import load_dataset
|
4 |
+
from huggingface_hub import login
|
5 |
import os
|
6 |
|
7 |
# Retrieve the Hugging Face token from the Space secrets
|