ApsidalSolid4 commited on
Commit
3260c63
·
verified ·
1 Parent(s): c3bd588

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- Here's the modified code for the Gradio interface that adds a file upload button next to the analysis mode buttons, while maintaining the original interface:
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