mGPT / app.py
akhaliq's picture
akhaliq HF staff
Update app.py
4c10d18
raw
history blame contribute delete
286 Bytes
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()