Lalit1997 commited on
Commit
779e42d
·
verified ·
1 Parent(s): 0dfe57e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ def function_b(query):
13
  def handle_query(function_choice, query):
14
  function_map = {
15
  "FinBERT": function_a,
16
- "Function B": function_b,
17
 
18
  }
19
 
@@ -27,7 +27,7 @@ def handle_query(function_choice, query):
27
  iface = gr.Interface(
28
  fn=handle_query,
29
  inputs=[
30
- gr.Radio(["Function A", "Function B", "Function C"], label="Select Function"),
31
  gr.Textbox(label="Enter Query")
32
  ],
33
  outputs=gr.Textbox(label="Response"),
 
13
  def handle_query(function_choice, query):
14
  function_map = {
15
  "FinBERT": function_a,
16
+ "Dolly Finetuned": function_b,
17
 
18
  }
19
 
 
27
  iface = gr.Interface(
28
  fn=handle_query,
29
  inputs=[
30
+ gr.Radio(["FinBERT", "Dolly Finetuned"], label="Select Function"),
31
  gr.Textbox(label="Enter Query")
32
  ],
33
  outputs=gr.Textbox(label="Response"),