Spaces:
Runtime error
Runtime error
added torch
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import T5ForConditionalGeneration, RobertaTokenizer
|
|
|
3 |
|
4 |
# Load the quantized model and tokenizer from Hugging Face Hub
|
5 |
quantized_model = T5ForConditionalGeneration.from_pretrained("AbdulHadi806/codet5-finetuned-latest-quantized")
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import T5ForConditionalGeneration, RobertaTokenizer
|
3 |
+
import torch
|
4 |
|
5 |
# Load the quantized model and tokenizer from Hugging Face Hub
|
6 |
quantized_model = T5ForConditionalGeneration.from_pretrained("AbdulHadi806/codet5-finetuned-latest-quantized")
|