Einmalumdiewelt commited on
Commit
a85abc3
·
1 Parent(s): 5787e93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
 
6
 
7
  description = "Summarize your German text in a few sentences"
@@ -10,7 +10,7 @@ examples = [["Maschinelles Lernen ist ein Oberbegriff für die „künstliche“
10
 
11
  interface = gr.Interface.load("Einmalumdiewelt/T5-Base_GNAD",
12
  description=description,
13
- examples=examples
14
  )
15
 
16
 
 
1
  import gradio as gr
2
 
3
+ #def greet(name):
4
+ # return "Hello " + name + "!!"
5
 
6
 
7
  description = "Summarize your German text in a few sentences"
 
10
 
11
  interface = gr.Interface.load("Einmalumdiewelt/T5-Base_GNAD",
12
  description=description,
13
+ inputs=examples, outputs="text"
14
  )
15
 
16