Spaces:
Sleeping
Sleeping
Ryan
commited on
Commit
·
6b7b8b5
1
Parent(s):
d6e4d74
update
Browse files- app.py +1 -1
- ui/analysis_screen.py +1 -1
- ui/dataset_input.py +1 -1
app.py
CHANGED
@@ -4,7 +4,7 @@ from ui.analysis_screen import process_analysis_request
|
|
4 |
|
5 |
def create_app():
|
6 |
"""
|
7 |
-
Create a streamlined Gradio app for dataset input and Bag of Words analysis.
|
8 |
|
9 |
Returns:
|
10 |
gr.Blocks: The Gradio application
|
|
|
4 |
|
5 |
def create_app():
|
6 |
"""
|
7 |
+
Create a streamlined Gradio app for dataset input and Bag of Words analysis.
|
8 |
|
9 |
Returns:
|
10 |
gr.Blocks: The Gradio application
|
ui/analysis_screen.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import json
|
3 |
|
4 |
-
# Import analysis modules
|
5 |
#from processors.topic_modeling import extract_topics, compare_topics
|
6 |
#from processors.ngram_analysis import compare_ngrams
|
7 |
#from processors.bias_detection import compare_bias
|
|
|
1 |
import gradio as gr
|
2 |
import json
|
3 |
|
4 |
+
# Import analysis modules
|
5 |
#from processors.topic_modeling import extract_topics, compare_topics
|
6 |
#from processors.ngram_analysis import compare_ngrams
|
7 |
#from processors.bias_detection import compare_bias
|
ui/dataset_input.py
CHANGED
@@ -4,7 +4,7 @@ from utils.text_dataset_parser import load_text_file, load_builtin_datasets
|
|
4 |
|
5 |
def create_dataset_input():
|
6 |
"""
|
7 |
-
Create the dataset input interface with prompt, response, and model fields.
|
8 |
|
9 |
Returns:
|
10 |
tuple: (dataset_inputs, example_dropdown, load_example_btn, create_btn)
|
|
|
4 |
|
5 |
def create_dataset_input():
|
6 |
"""
|
7 |
+
Create the dataset input interface with prompt, response, and model fields.
|
8 |
|
9 |
Returns:
|
10 |
tuple: (dataset_inputs, example_dropdown, load_example_btn, create_btn)
|