Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
|
|
3 |
|
4 |
# Load your fine-tuned model and tokenizer
|
5 |
model_name = "legacy107/flan-t5-large-bottleneck-adapter-cpgQA-unique"
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
3 |
+
import torch
|
4 |
|
5 |
# Load your fine-tuned model and tokenizer
|
6 |
model_name = "legacy107/flan-t5-large-bottleneck-adapter-cpgQA-unique"
|