akhaliq HF Staff commited on
Commit
c3655cd
·
1 Parent(s): 6968b8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,4 +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
- gr.Interface.load("huggingface/sberbank-ai/mGPT",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();
7
+ gr.Interface.load("huggingface/sberbank-ai/mGPT",textbox, textbox,examples=examples).launch()