Spaces:
Runtime error
Runtime error
File size: 411 Bytes
7681358 97de850 7681358 97de850 3e5ffb2 97de850 9aaeb64 97de850 9aaeb64 97de850 |
1 2 3 4 5 6 7 8 9 10 11 12 |
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() |