sasha HF staff commited on
Commit
097117b
β€’
1 Parent(s): 5966339

yay it works! thanks Pete <3

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -63,61 +63,61 @@ with demo:
63
  with gr.Column():
64
  plot = gr.Plot(get_plots('image_generation.csv'))
65
  with gr.Column():
66
- table = gr.Dataframe(get_model_names('image_generation.csv'))
67
 
68
  with gr.TabItem("Text Classification 🎭"):
69
  with gr.Row():
70
  with gr.Column():
71
  plot = gr.Plot(get_plots('text_classification.csv'))
72
  with gr.Column():
73
- table = gr.Dataframe(get_model_names('text_classification.csv'))
74
 
75
  with gr.TabItem("Image Classification πŸ–ΌοΈ"):
76
  with gr.Row():
77
  with gr.Column():
78
- plot = gr.Plot(get_plots('image_classification.csv'))
79
  with gr.Column():
80
- table = gr.Dataframe(get_model_names('image_classification.csv'))
81
 
82
  with gr.TabItem("Image Captioning πŸ“"):
83
  with gr.Row():
84
  with gr.Column():
85
  plot = gr.Plot(get_plots('question_answering.csv'))
86
  with gr.Column():
87
- table = gr.Dataframe(get_model_names('question_answering.csv'))
88
  with gr.TabItem("Summarization πŸ“ƒ"):
89
  with gr.Row():
90
  with gr.Column():
91
  plot = gr.Plot(get_plots('summarization.csv'))
92
  with gr.Column():
93
- table = gr.Dataframe(get_model_names('summarization.csv'))
94
 
95
  with gr.TabItem("Automatic Speech Recognition πŸ’¬ "):
96
  with gr.Row():
97
  with gr.Column():
98
  plot = gr.Plot(get_plots('asr.csv'))
99
  with gr.Column():
100
- table = gr.Dataframe(get_model_names('asr.csv'))
101
 
102
  with gr.TabItem("Object Detection 🚘"):
103
  with gr.Row():
104
  with gr.Column():
105
  plot = gr.Plot(get_plots('object_detection.csv'))
106
  with gr.Column():
107
- table = gr.Dataframe(get_model_names('object_detection.csv'))
108
 
109
  with gr.TabItem("Sentence Similarity πŸ“š"):
110
  with gr.Row():
111
  with gr.Column():
112
  plot = gr.Plot(get_plots('sentence_similarity.csv'))
113
  with gr.Column():
114
- table = gr.Dataframe(get_model_names('sentence_similarity.csv'))
115
 
116
  with gr.TabItem("Extractive QA ❔"):
117
  with gr.Row():
118
  with gr.Column():
119
  plot = gr.Plot(get_plots('question_answering.csv'))
120
  with gr.Column():
121
- table = gr.Dataframe(get_model_names('question_answering.csv'))
122
 
123
  demo.launch()
 
63
  with gr.Column():
64
  plot = gr.Plot(get_plots('image_generation.csv'))
65
  with gr.Column():
66
+ table = gr.Dataframe(get_model_names('image_generation.csv'), datatype="markdown")
67
 
68
  with gr.TabItem("Text Classification 🎭"):
69
  with gr.Row():
70
  with gr.Column():
71
  plot = gr.Plot(get_plots('text_classification.csv'))
72
  with gr.Column():
73
+ table = gr.Dataframe(get_model_names('text_classification.csv'), datatype="markdown")
74
 
75
  with gr.TabItem("Image Classification πŸ–ΌοΈ"):
76
  with gr.Row():
77
  with gr.Column():
78
+ plot = gr.Plot(get_plots('image_classification.csv'), datatype="markdown")
79
  with gr.Column():
80
+ table = gr.Dataframe(get_model_names('image_classification.csv'), datatype="markdown")
81
 
82
  with gr.TabItem("Image Captioning πŸ“"):
83
  with gr.Row():
84
  with gr.Column():
85
  plot = gr.Plot(get_plots('question_answering.csv'))
86
  with gr.Column():
87
+ table = gr.Dataframe(get_model_names('question_answering.csv'), datatype="markdown")
88
  with gr.TabItem("Summarization πŸ“ƒ"):
89
  with gr.Row():
90
  with gr.Column():
91
  plot = gr.Plot(get_plots('summarization.csv'))
92
  with gr.Column():
93
+ table = gr.Dataframe(get_model_names('summarization.csv'), datatype="markdown")
94
 
95
  with gr.TabItem("Automatic Speech Recognition πŸ’¬ "):
96
  with gr.Row():
97
  with gr.Column():
98
  plot = gr.Plot(get_plots('asr.csv'))
99
  with gr.Column():
100
+ table = gr.Dataframe(get_model_names('asr.csv'), datatype="markdown")
101
 
102
  with gr.TabItem("Object Detection 🚘"):
103
  with gr.Row():
104
  with gr.Column():
105
  plot = gr.Plot(get_plots('object_detection.csv'))
106
  with gr.Column():
107
+ table = gr.Dataframe(get_model_names('object_detection.csv'), datatype="markdown")
108
 
109
  with gr.TabItem("Sentence Similarity πŸ“š"):
110
  with gr.Row():
111
  with gr.Column():
112
  plot = gr.Plot(get_plots('sentence_similarity.csv'))
113
  with gr.Column():
114
+ table = gr.Dataframe(get_model_names('sentence_similarity.csv'), datatype="markdown")
115
 
116
  with gr.TabItem("Extractive QA ❔"):
117
  with gr.Row():
118
  with gr.Column():
119
  plot = gr.Plot(get_plots('question_answering.csv'))
120
  with gr.Column():
121
+ table = gr.Dataframe(get_model_names('question_answering.csv'), datatype="markdown")
122
 
123
  demo.launch()