israelgonzalezb commited on
Commit
0b3596b
1 Parent(s): 62b0f91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -17,13 +17,10 @@ with gr.Blocks() as demo:
17
  label="Input Text",
18
  lines=1,
19
  )
20
- output = [gr.Textbox(label="Total Hot or Not™ Score", default="Holy fuck"),
21
- gr.Textbox(label="Hotness Score", default="Holy fucking fuck"),
22
- gr.Textbox(label="Beauty Score", default="That body of yours is insane"),
23
- gr.Textbox(label="Attractiveness Score", default="hot"),
24
- ]
25
  b1 = gr.Button("Summarize!")
26
- b1.click(main, outputs=["Holy fuck","Holy fucking fuck","That body of yours is insane","hot"], api_name="s")
 
27
 
28
 
29
  if __name__ == "__main__":
 
17
  label="Input Text",
18
  lines=1,
19
  )
20
+ output = gr.Textbox(label="Output Text")
 
 
 
 
21
  b1 = gr.Button("Summarize!")
22
+ b1.click(main, inputs=[text1], outputs=output, api_name="s")
23
+
24
 
25
 
26
  if __name__ == "__main__":