Wootang01's picture
Update app.py
97de850
raw
history blame
411 Bytes
import gradio as gr
from gradio.mix import Series
description_ = "Kindly input text, submit, and the computer will predict subsequent words for your text input."
model1 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-125M")
model2 = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B")
demo = gr.TabbedInterface([model1, model2], ["Model 1", "Model 2"])
if __name__ == "__main__":
demo.launch()