Bodyandre23 commited on
Commit
57803ee
·
verified ·
1 Parent(s): e2361af

Upload 3 files

Browse files
Files changed (3) hide show
  1. app.py +8 -0
  2. requirements.txt +2 -0
  3. runtime.txt +1 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import gradio as gr
3
+
4
+ def greet(name):
5
+ return f"Hello, {name}!"
6
+
7
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
8
+ demo.queue().launch(server_name="0.0.0.0", server_port=int(os.environ.get("PORT", 7860)))
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ gradio==4.44.0
2
+ numpy<2
runtime.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ python-3.10