Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
joanhightech
/
CreateDB
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
joanhightech
commited on
Jan 31, 2024
Commit
8881aba
·
verified
·
1 Parent(s):
a66878c
JM: initial commit
Browse files
Files changed (1)
hide
show
app.py
+8
-0
app.py
ADDED
Viewed
@@ -0,0 +1,8 @@
1
+
import gradio as gr
2
+
3
+
def salut(nom):
4
+
with open('data.txt', 'w') as file:
5
+
file.write(f"Nom: {nom}\n")
6
+
7
+
demo = gr.Interface(fn=salut, inputs="text", outputs="text")
8
+
demo.launch(share=True, debug=True)