Claudio Peroni commited on
Commit
f6903b4
·
1 Parent(s): 711119c

third commit

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
  def greet(name):
3
  return "Hello " + name + "!!"
4
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
5
- iface.launch()
 
1
  import gradio as gr
2
  def greet(name):
3
  return "Hello " + name + "!!"
4
+ iface = gr.Interface.load("huggingface/gpt2").launch()
5
+ #iface.launch()