Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,7 +147,6 @@ leaderboard_df = filter_models(
|
|
| 147 |
type_query=[t.to_str(" : ") for t in ModelType],
|
| 148 |
size_query=list(NUMERIC_INTERVALS.keys()),
|
| 149 |
precision_query=[i.value.name for i in Precision],
|
| 150 |
-
show_deleted=False,
|
| 151 |
)
|
| 152 |
|
| 153 |
import unicodedata
|
|
@@ -194,7 +193,7 @@ Python on how to access the data:
|
|
| 194 |
# Import dependencies
|
| 195 |
from gradio_client import Client
|
| 196 |
# Initialize the Gradio client with the API URL
|
| 197 |
-
client = Client("https://rodrigomasini-data-only-
|
| 198 |
try:
|
| 199 |
# Perform the API call
|
| 200 |
response = client.predict("","", api_name='/predict')
|
|
|
|
| 147 |
type_query=[t.to_str(" : ") for t in ModelType],
|
| 148 |
size_query=list(NUMERIC_INTERVALS.keys()),
|
| 149 |
precision_query=[i.value.name for i in Precision],
|
|
|
|
| 150 |
)
|
| 151 |
|
| 152 |
import unicodedata
|
|
|
|
| 193 |
# Import dependencies
|
| 194 |
from gradio_client import Client
|
| 195 |
# Initialize the Gradio client with the API URL
|
| 196 |
+
client = Client("https://rodrigomasini-data-only-hallucination-leaderboard.hf.space/")
|
| 197 |
try:
|
| 198 |
# Perform the API call
|
| 199 |
response = client.predict("","", api_name='/predict')
|