akhaliq HF staff commited on
Commit
4c10d18
1 Parent(s): 8a5661a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,5 +3,5 @@ os.system("pip install gradio==2.9b11")
3
  import gradio as gr
4
 
5
  examples=[["My name is Lewis and I like to"],["The weather today is"]]
6
- textbox = gr.Textbox();
7
  gr.Interface.load("huggingface/sberbank-ai/mGPT",inputs=textbox, outputs=textbox,examples=examples).launch()
 
3
  import gradio as gr
4
 
5
  examples=[["My name is Lewis and I like to"],["The weather today is"]]
6
+ textbox = gr.Textbox(label="Text");
7
  gr.Interface.load("huggingface/sberbank-ai/mGPT",inputs=textbox, outputs=textbox,examples=examples).launch()