Spaces:
Running
on
Zero
Running
on
Zero
Leonard Püttmann
commited on
Upload app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,6 @@ import gradio as gr
|
|
4 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
5 |
import spacy
|
6 |
|
7 |
-
@spaces.GPU(duration=30)
|
8 |
class ModelSingleton:
|
9 |
_instance = None
|
10 |
|
|
|
4 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
5 |
import spacy
|
6 |
|
|
|
7 |
class ModelSingleton:
|
8 |
_instance = None
|
9 |
|