Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
4 |
-
return
|
5 |
|
6 |
-
demo = gr.Interface(fn=
|
7 |
demo.launch()
|
8 |
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def turn_to_uppercase(name):
|
4 |
+
return name.upper()
|
5 |
|
6 |
+
demo = gr.Interface(fn=turn_to_uppercase, inputs="text", outputs="text")
|
7 |
demo.launch()
|
8 |
|