Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,8 @@ def greet(name):
|
|
33 |
if text == "wiki":
|
34 |
result = wikipedia.summary(name, sentences =10)
|
35 |
return result
|
36 |
-
|
|
|
37 |
|
38 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
39 |
iface.launch()
|
|
|
33 |
if text == "wiki":
|
34 |
result = wikipedia.summary(name, sentences =10)
|
35 |
return result
|
36 |
+
else:
|
37 |
+
return str(text)
|
38 |
|
39 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
40 |
iface.launch()
|