Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import requests
|
2 |
import os
|
3 |
|
@@ -27,4 +38,5 @@ self.assertEqual(
|
|
27 |
"summary_text": "The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world.",
|
28 |
},
|
29 |
],
|
30 |
-
)
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
|
4 |
+
def greet(name):
|
5 |
+
return "Hello " + name
|
6 |
+
|
7 |
+
|
8 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
+
|
10 |
+
demo.launch()
|
11 |
+
'''
|
12 |
import requests
|
13 |
import os
|
14 |
|
|
|
38 |
"summary_text": "The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world.",
|
39 |
},
|
40 |
],
|
41 |
+
)
|
42 |
+
'''
|