Spaces:
Running
Running
updating data paths
Browse files
app.py
CHANGED
|
@@ -32,36 +32,36 @@ with demo:
|
|
| 32 |
with gr.TabItem("Text Generation 💬"):
|
| 33 |
with gr.Row():
|
| 34 |
with gr.Column():
|
| 35 |
-
plot = gr.Plot(get_plots('data/text_generation.csv'))
|
| 36 |
with gr.Column():
|
| 37 |
-
table = gr.Dataframe(get_model_names('data/text_generation.csv'))
|
| 38 |
|
| 39 |
with gr.TabItem("Image Generation 📷"):
|
| 40 |
with gr.Row():
|
| 41 |
with gr.Column():
|
| 42 |
-
plot = gr.Plot(get_plots('data/image_generation.csv'))
|
| 43 |
with gr.Column():
|
| 44 |
-
table = gr.Dataframe(get_model_names('data/image_generation.csv'))
|
| 45 |
|
| 46 |
with gr.TabItem("Text Classification 🎭"):
|
| 47 |
with gr.Row():
|
| 48 |
with gr.Column():
|
| 49 |
-
plot = gr.Plot(get_plots('data/text_classification.csv'))
|
| 50 |
with gr.Column():
|
| 51 |
-
table = gr.Dataframe(get_model_names('data/text_classification.csv'))
|
| 52 |
|
| 53 |
with gr.TabItem("Image Classification 🖼️"):
|
| 54 |
with gr.Row():
|
| 55 |
with gr.Column():
|
| 56 |
-
plot = gr.Plot(get_plots('data/image_classification.csv'))
|
| 57 |
with gr.Column():
|
| 58 |
table = gr.Dataframe(get_model_names('data/image_classification.csv'))
|
| 59 |
|
| 60 |
with gr.TabItem("Extractive QA ❔"):
|
| 61 |
with gr.Row():
|
| 62 |
with gr.Column():
|
| 63 |
-
plot = gr.Plot(get_plots('data/question_answering.csv'))
|
| 64 |
with gr.Column():
|
| 65 |
-
table = gr.Dataframe(get_model_names('data/question_answering.csv'))
|
| 66 |
|
| 67 |
demo.launch()
|
|
|
|
| 32 |
with gr.TabItem("Text Generation 💬"):
|
| 33 |
with gr.Row():
|
| 34 |
with gr.Column():
|
| 35 |
+
plot = gr.Plot(get_plots('data/energy/text_generation.csv'))
|
| 36 |
with gr.Column():
|
| 37 |
+
table = gr.Dataframe(get_model_names('data/energy/text_generation.csv'))
|
| 38 |
|
| 39 |
with gr.TabItem("Image Generation 📷"):
|
| 40 |
with gr.Row():
|
| 41 |
with gr.Column():
|
| 42 |
+
plot = gr.Plot(get_plots('data/energy/image_generation.csv'))
|
| 43 |
with gr.Column():
|
| 44 |
+
table = gr.Dataframe(get_model_names('data/energy/image_generation.csv'))
|
| 45 |
|
| 46 |
with gr.TabItem("Text Classification 🎭"):
|
| 47 |
with gr.Row():
|
| 48 |
with gr.Column():
|
| 49 |
+
plot = gr.Plot(get_plots('data/energy/text_classification.csv'))
|
| 50 |
with gr.Column():
|
| 51 |
+
table = gr.Dataframe(get_model_names('data/energy/text_classification.csv'))
|
| 52 |
|
| 53 |
with gr.TabItem("Image Classification 🖼️"):
|
| 54 |
with gr.Row():
|
| 55 |
with gr.Column():
|
| 56 |
+
plot = gr.Plot(get_plots('data/energy/image_classification.csv'))
|
| 57 |
with gr.Column():
|
| 58 |
table = gr.Dataframe(get_model_names('data/image_classification.csv'))
|
| 59 |
|
| 60 |
with gr.TabItem("Extractive QA ❔"):
|
| 61 |
with gr.Row():
|
| 62 |
with gr.Column():
|
| 63 |
+
plot = gr.Plot(get_plots('data/energy/question_answering.csv'))
|
| 64 |
with gr.Column():
|
| 65 |
+
table = gr.Dataframe(get_model_names('data/energy/question_answering.csv'))
|
| 66 |
|
| 67 |
demo.launch()
|