Spaces:
Sleeping
Sleeping
Update my_model/tabs/results.py
Browse files- my_model/tabs/results.py +0 -4
my_model/tabs/results.py
CHANGED
|
@@ -1,10 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from my_model.results.demo import ResultDemonstrator
|
| 3 |
from my_model.config import evaluation_config as config
|
| 4 |
-
from my_model.utilities.gen_utilities import log_function_call, log_click, log_to_csv
|
| 5 |
|
| 6 |
|
| 7 |
-
@log_function_call
|
| 8 |
def run_demo():
|
| 9 |
"""
|
| 10 |
Run the interactive Streamlit demo for visualizing model evaluation results and analysis.
|
|
@@ -37,6 +35,4 @@ def run_demo():
|
|
| 37 |
demo.display_ablation_results_per_question_category()
|
| 38 |
elif section_type == 'Evaluation Samples':
|
| 39 |
if samples_button:
|
| 40 |
-
log_to_csv("Generate Random Samples", 'Button was clicked')
|
| 41 |
-
log_click('Click Me Button')
|
| 42 |
demo.show_samples(3)
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from my_model.results.demo import ResultDemonstrator
|
| 3 |
from my_model.config import evaluation_config as config
|
|
|
|
| 4 |
|
| 5 |
|
|
|
|
| 6 |
def run_demo():
|
| 7 |
"""
|
| 8 |
Run the interactive Streamlit demo for visualizing model evaluation results and analysis.
|
|
|
|
| 35 |
demo.display_ablation_results_per_question_category()
|
| 36 |
elif section_type == 'Evaluation Samples':
|
| 37 |
if samples_button:
|
|
|
|
|
|
|
| 38 |
demo.show_samples(3)
|