Spaces:
Paused
Paused
Commit
·
e6f7c3d
1
Parent(s):
ec9360e
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,10 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
# import chess
|
| 3 |
|
| 4 |
-
# def greet(GNUID):
|
| 5 |
-
# b = backgammon.Backgammon(GNUID, "cInpAAAAAAAA")
|
| 6 |
-
# for play in b.generate_plays():
|
| 7 |
-
# return play.moves
|
| 8 |
|
|
|
|
|
|
|
| 9 |
|
| 10 |
-
# demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
+
def greet(name):
|
| 5 |
+
return "Hello " + name
|
| 6 |
|
|
|
|
| 7 |
|
| 8 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 9 |
+
|
| 10 |
+
demo.launch()
|