Spaces:
Sleeping
Sleeping
Add file
Browse files
app.py
CHANGED
|
@@ -1,18 +1,7 @@
|
|
| 1 |
-
|
| 2 |
-
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
|
| 3 |
-
{\colortbl;\red255\green255\blue255;\red147\green0\blue147;\red255\green255\blue255;\red24\green30\blue42;
|
| 4 |
-
\red50\green94\blue238;\red66\green147\blue62;}
|
| 5 |
-
{\*\expandedcolortbl;;\cssrgb\c65098\c14902\c64314;\cssrgb\c100000\c100000\c100000;\cssrgb\c12157\c16078\c21569;
|
| 6 |
-
\cssrgb\c25098\c47059\c94902;\cssrgb\c31373\c63137\c30980;}
|
| 7 |
-
\paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0
|
| 8 |
-
\deftab720
|
| 9 |
-
\pard\pardeftab720\partightenfactor0
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
\
|
| 17 |
-
iface = gr.Interface(fn=greet, inputs=\cf6 "text"\cf4 , outputs=\cf6 "text"\cf4 )\
|
| 18 |
-
iface.launch()}
|
|
|
|
| 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()
|
|
|
|
|
|
|
|
|