Ahmad Hammoudeh commited on
Commit
53dfc36
·
1 Parent(s): 95e2bdc

Update App.py

Browse files
Files changed (1) hide show
  1. App.py +10 -0
App.py CHANGED
@@ -1,5 +1,14 @@
1
  import gradio as gr
2
 
 
 
 
 
 
 
 
 
 
3
  import os
4
 
5
  os.system('!pip install pycryptodome -q')
@@ -54,3 +63,4 @@ with gr.Blocks() as demo:
54
 
55
 
56
  demo.queue(default_enabled = True).launch(debug = True)
 
 
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()
8
+
9
+ '''
10
+ import gradio as gr
11
+
12
  import os
13
 
14
  os.system('!pip install pycryptodome -q')
 
63
 
64
 
65
  demo.queue(default_enabled = True).launch(debug = True)
66
+ '''