Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import os
|
|
2 |
import gradio as gr
|
3 |
import random
|
4 |
from transformers import pipeline
|
|
|
5 |
|
6 |
|
7 |
# Get the Hugging Face token from environment variables
|
|
|
2 |
import gradio as gr
|
3 |
import random
|
4 |
from transformers import pipeline
|
5 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
6 |
|
7 |
|
8 |
# Get the Hugging Face token from environment variables
|