nroggendorff commited on
Commit
690f022
1 Parent(s): 2cd80d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ oracle = pl("text-classification")
6
  def pipe(text: str):
7
  return oracle(text)
8
 
9
- def main():
10
- interface = gr.Interface(pipe, gr.Textbox(label="Prompt"), gr.Textbox(label="Response"), title="Text Classifier")
11
 
12
  if __name__ == "__main__":
13
  interface.launch()
 
6
  def pipe(text: str):
7
  return oracle(text)
8
 
9
+
10
+ interface = gr.Interface(pipe, gr.Textbox(label="Prompt"), gr.Textbox(label="Response"), title="Text Classifier")
11
 
12
  if __name__ == "__main__":
13
  interface.launch()