Alshargi commited on
Commit
45d0060
·
verified ·
1 Parent(s): c1ec29e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def hello(message):
4
+ return f"Hadithi is working. You said: {message}"
5
+
6
+ demo = gr.Interface(
7
+ fn=hello,
8
+ inputs=gr.Textbox(label="Ask"),
9
+ outputs=gr.Textbox(label="Reply"),
10
+ title="Hadithi",
11
+ description="First test for the Hugging Face Space"
12
+ )
13
+
14
+ demo.launch()