TestSpaceGPT / app.py
aisah1's picture
Update app.py
dfc3b85 verified
raw
history blame
253 Bytes
import gradio
from transformers import AutoTokenizer
from transformers import OpenAIGPTLMHeadModel
def work(inp_text):
out = "hello"
return out
demo = gradio.Interface(
fn=work,
inputs=["text"],
outputs=["text"],
)
demo.launch()