Spaces:
Runtime error
Runtime error
sujeshpadhi
commited on
Commit
•
bc5bba3
1
Parent(s):
74248bf
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
#import torch
|
7 |
import json
|
8 |
#from transformers import T5ForConditionalGeneration
|
9 |
-
|
10 |
|
11 |
# this model was loaded from https://hf.co/models
|
12 |
model = T5('t5-small').to('cuda')
|
|
|
6 |
#import torch
|
7 |
import json
|
8 |
#from transformers import T5ForConditionalGeneration
|
9 |
+
import T5
|
10 |
|
11 |
# this model was loaded from https://hf.co/models
|
12 |
model = T5('t5-small').to('cuda')
|