Spaces:
Runtime error
Runtime error
Commit
·
8ab30b2
1
Parent(s):
46b8ce8
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,15 @@ import IPython.display
|
|
6 |
from PIL import Image
|
7 |
import base64
|
8 |
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
#gr.close_all()
|
11 |
#gr.Textbox(os.environ['HF_TOKENS'])
|
12 |
|
|
|
6 |
from PIL import Image
|
7 |
import base64
|
8 |
|
9 |
+
def greet(name):
|
10 |
+
return "Hello " + name +os.environ['HF_TOKENS']
|
11 |
+
|
12 |
+
|
13 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
14 |
+
|
15 |
+
demo.launch()
|
16 |
+
|
17 |
+
|
18 |
#gr.close_all()
|
19 |
#gr.Textbox(os.environ['HF_TOKENS'])
|
20 |
|