Spaces:
Sleeping
Sleeping
Add application file
Browse files- app.py +7 -0
- flagged/log.csv +6 -0
- packages.txt +1 -0
- requirements.txt +0 -0
app.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def greet(name):
|
4 |
+
return "Hello " + name + "!!"
|
5 |
+
|
6 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
+
iface.launch()
|
flagged/log.csv
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'name','output','flag','username','timestamp'
|
2 |
+
'hello','Hello hello!!','','','2023-03-27 18:03:03.390919'
|
3 |
+
'hello','Hello hello!!','','','2023-03-27 18:03:04.121079'
|
4 |
+
'hello','Hello hello!!','','','2023-03-27 18:03:04.311282'
|
5 |
+
'hello','Hello hello!!','','','2023-03-27 18:03:05.862242'
|
6 |
+
'','','','','2023-03-27 18:03:07.803759'
|
packages.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
#specify Debian dependencies
|
requirements.txt
ADDED
File without changes
|