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() |