mou3az commited on
Commit
c2f639d
·
verified ·
1 Parent(s): c98d37d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -71,9 +71,7 @@ def web_search(query: str):
71
 
72
  demo = gr.Interface(
73
  fn=handle_query,
74
- inputs=["text", "text", gr.Dropdown(["chat", "web-search"], label="Mode", default="chat")],
75
  outputs="text",
76
- title="IT Assistant",
77
- description="Choose a mode and enter your message, then click submit to interact."
78
- )
79
  demo.launch()
 
71
 
72
  demo = gr.Interface(
73
  fn=handle_query,
74
+ inputs=["text", gr.Radio(["Chat", "Web-Search"], label="Mode", info="Choose a mode and enter your message, then click submit to interact.")],
75
  outputs="text",
76
+ title="IT Assistant")
 
 
77
  demo.launch()