David Portes
commited on
Commit
·
0203a23
1
Parent(s):
0df26a3
gradio
Browse files- application.py +10 -0
application.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
os.system("pip install gradio==3.3")
|
3 |
+
import gradio as gr
|
4 |
+
|
5 |
+
def greet(name):
|
6 |
+
return "Hello " + name + "!"
|
7 |
+
|
8 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
+
|
10 |
+
demo.launch()
|