traversaal-ai commited on
Commit
d705db0
·
1 Parent(s): 1867217

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -34,8 +34,7 @@ def generate_response(user_prompt):
34
  iface = gr.Interface(fn=generate_response,
35
  inputs=[gr.components.Textbox( label="prompt",
36
  value='Who is the target population for Abdominal Aortic Aneurysm (AAA) screening?')],
37
- outputs=[gr.JSON(label="category"),
38
- gr.JSON(label="Detect Prompt Category")]
39
  )
40
 
41
  # Start the Gradio interface
 
34
  iface = gr.Interface(fn=generate_response,
35
  inputs=[gr.components.Textbox( label="prompt",
36
  value='Who is the target population for Abdominal Aortic Aneurysm (AAA) screening?')],
37
+ outputs=[gr.JSON(label="category")]
 
38
  )
39
 
40
  # Start the Gradio interface