Update app.py
Browse files
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()
|