File size: 286 Bytes
6968b8c
 
8d63ece
 
77cb5d2
4c10d18
8a5661a
1
2
3
4
5
6
7
import os
os.system("pip install gradio==2.9b11")
import gradio as gr

examples=[["My name is Lewis and I like to"],["The weather today is"]]
textbox = gr.Textbox(label="Text");
gr.Interface.load("huggingface/sberbank-ai/mGPT",inputs=textbox, outputs=textbox,examples=examples).launch()