Spaces:
Runtime error
Runtime error
azaninello
commited on
Commit
•
b139197
1
Parent(s):
202e75e
Update app.py
Browse files
app.py
CHANGED
@@ -16,12 +16,9 @@ def sentence(cerca_una_parola):
|
|
16 |
def upper(cerca_una_parola):
|
17 |
return cerca_una_parola.upper()
|
18 |
|
19 |
-
demo = gr.Interface(fn=sentence, inputs='text', outputs='text')
|
20 |
demo.launch()
|
21 |
|
22 |
-
demo2 = gr.Interface(fn=upper, inputs=cerca_una_parola, outputs='text')
|
23 |
-
demo2.launch()
|
24 |
-
|
25 |
|
26 |
'''
|
27 |
demo = gr.Interface(
|
|
|
16 |
def upper(cerca_una_parola):
|
17 |
return cerca_una_parola.upper()
|
18 |
|
19 |
+
demo = gr.Interface([fn=sentence, inputs='text', outputs='text'], [n=upper, inputs=cerca_una_parola, outputs='text'])
|
20 |
demo.launch()
|
21 |
|
|
|
|
|
|
|
22 |
|
23 |
'''
|
24 |
demo = gr.Interface(
|