Spaces:
Sleeping
Sleeping
teste commit
Browse files
app.py
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# -*- coding: utf-8 -*-
|
2 |
+
"""app.ipynb
|
3 |
+
|
4 |
+
Automatically generated by Colaboratory.
|
5 |
+
|
6 |
+
Original file is located at
|
7 |
+
https://colab.research.google.com/drive/1owoWkF3UvRBp3t6gcr4kUKkX2yg7aXah
|
8 |
+
"""
|
9 |
+
|
10 |
+
!pip install -q gradio
|
11 |
+
|
12 |
+
import gradio as gr
|
13 |
+
|
14 |
+
def greet(name):
|
15 |
+
return "Hello " + name + "!!"
|
16 |
+
|
17 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
18 |
+
iface.launch()
|