Spaces:
Runtime error
Runtime error
DimaKoshman
commited on
Commit
•
ba1576e
1
Parent(s):
e96f741
fixed annotations again
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import gradio
|
2 |
import pandas as pd
|
3 |
from matplotlib import pyplot as plt
|
@@ -42,7 +44,7 @@ def main():
|
|
42 |
interface = gradio.Interface(
|
43 |
title="Making graphs accessible",
|
44 |
description="Generate textual representation of a graph\n"
|
45 |
-
|
46 |
fn=lambda image: predict_string(image, model),
|
47 |
inputs="image",
|
48 |
outputs="text",
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
import gradio
|
4 |
import pandas as pd
|
5 |
from matplotlib import pyplot as plt
|
|
|
44 |
interface = gradio.Interface(
|
45 |
title="Making graphs accessible",
|
46 |
description="Generate textual representation of a graph\n"
|
47 |
+
"https://www.kaggle.com/competitions/benetech-making-graphs-accessible",
|
48 |
fn=lambda image: predict_string(image, model),
|
49 |
inputs="image",
|
50 |
outputs="text",
|