Non-playing-Character commited on
Commit
31105be
·
verified ·
1 Parent(s): 7c3f9c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,7 +57,7 @@ def classify_text(text):
57
  return result
58
 
59
  # Create a Gradio interface
60
- iface = gr.Interface(fn=classify_text, inputs="text", outputs="label")
61
 
62
  # Launch the interface
63
- iface.launch()
 
57
  return result
58
 
59
  # Create a Gradio interface
60
+ gradio_app = gr.Interface(fn=classify_text, inputs="text", outputs="label")
61
 
62
  # Launch the interface
63
+ gradio_app.launch()