Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,21 +33,23 @@ def initClient():
|
|
33 |
|
34 |
def greet(name):
|
35 |
return "Hello " + name + "!!"
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
#
|
40 |
-
#
|
41 |
-
#
|
42 |
-
# ["The
|
43 |
-
# ]
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
|
|
|
|
|
33 |
|
34 |
def greet(name):
|
35 |
return "Hello " + name + "!!"
|
36 |
+
|
37 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
38 |
+
demo.launch()
|
39 |
+
# title = "demo"
|
40 |
+
# description = "Gradio Demo for custom demo"
|
41 |
+
# # examples = [
|
42 |
+
# # ["The tower is 324 metres (1,063 ft) tall,"],
|
43 |
+
# # ["The Moon's orbit around Earth has"],
|
44 |
+
# # ["The smooth Borealis basin in the Northern Hemisphere covers 40%"],
|
45 |
+
# # ]
|
46 |
+
# gr.Interface.load(
|
47 |
+
# "huggingface/chenluuli/test-text-vis",
|
48 |
+
# inputs=gr.Textbox(lines=5, label="Input Text"),
|
49 |
+
# outputs="text",
|
50 |
+
# #title=title,
|
51 |
+
# #description=description,
|
52 |
+
# # article=article,
|
53 |
+
# # examples=examples,
|
54 |
+
# #enable_queue=True,
|
55 |
+
# ).launch()
|