question-gen / app.py
Akbartus's picture
Update app.py
ec48c62
raw
history blame
362 Bytes
# It is possible to download without any issues almost any model with one line of code. Choose any model, get its link, and add before it "huggingface/".
# import gradio and define it as a variable name
import gradio as gr
# load interface related to gpt2 and launch it.
gr.Interface.load("huggingface/mrm8488/t5-base-finetuned-question-generation-ap").launch()