farelzii commited on
Commit
fe7b370
1 Parent(s): 52f73cc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -0
README.md CHANGED
@@ -26,3 +26,17 @@ iface = gr.Interface(
26
 
27
  iface.launch()
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  iface.launch()
28
 
29
+ import gradio as gr
30
+
31
+ def greet(name):
32
+ return "Hello, " + name + "!"
33
+
34
+ demo = gr.Interface(
35
+ fn=greet,
36
+ inputs=gr.Textbox(label="Nama Anda"),
37
+ outputs=gr.Textbox(label="Hasil"),
38
+ )
39
+
40
+ demo.launch()
41
+
42
+