Spaces:
Sleeping
Sleeping
Emanuele Artegiani
commited on
Commit
Β·
1cc6d0f
1
Parent(s):
5d862ed
Test
Browse files
README.md
CHANGED
|
@@ -3,8 +3,8 @@ title: LRS Leaderboard
|
|
| 3 |
emoji: π
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: pink
|
| 6 |
-
sdk:
|
| 7 |
-
sdk_version: 1.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
|
|
|
| 3 |
emoji: π
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: pink
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 4.1.2
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
app.py
CHANGED
|
@@ -9,12 +9,10 @@ import pandas as pd
|
|
| 9 |
import random
|
| 10 |
|
| 11 |
def greet(name):
|
| 12 |
-
return "Hello " + name
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
demo.launch()
|
| 18 |
|
| 19 |
# TASKS = [
|
| 20 |
# "BitextMining",
|
|
|
|
| 9 |
import random
|
| 10 |
|
| 11 |
def greet(name):
|
| 12 |
+
return "Hello " + name + "!!"
|
| 13 |
|
| 14 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 15 |
+
iface.launch()
|
|
|
|
|
|
|
| 16 |
|
| 17 |
# TASKS = [
|
| 18 |
# "BitextMining",
|