Update app.py
Browse files
app.py
CHANGED
|
@@ -812,8 +812,7 @@ def analyze_text(text: str, mode: str, classifier: TextClassifier) -> tuple:
|
|
| 812 |
|
| 813 |
|
| 814 |
# Modified Gradio interface setup function to include file upload
|
| 815 |
-
|
| 816 |
-
pythonCopydef setup_gradio_interface(classifier):
|
| 817 |
"""
|
| 818 |
Set up Gradio interface with text input and file upload button next to analysis mode
|
| 819 |
|
|
|
|
| 812 |
|
| 813 |
|
| 814 |
# Modified Gradio interface setup function to include file upload
|
| 815 |
+
def setup_gradio_interface(classifier):
|
|
|
|
| 816 |
"""
|
| 817 |
Set up Gradio interface with text input and file upload button next to analysis mode
|
| 818 |
|