bubuuunel commited on
Commit
5413275
1 Parent(s): 9c06b68

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -128,7 +128,7 @@ def predict_output (user_input,company):
128
  company = "AWS"
129
  elif company == "IBM":
130
  company = "IBM"
131
- elif company =+ "Google":
132
  company = "Google"
133
  elif company == "Msft":
134
  company = "Msft"
@@ -172,7 +172,7 @@ model_output = gr.Textbox (label = 'Response')
172
  # For the inputs parameter of Interface provide [textbox,company]
173
 
174
  demo = gr.Interface(
175
- fn=predict,
176
  inputs=[user_input,company_input],
177
  outputs=model_output,
178
  title="RAG on 10k-reports",
 
128
  company = "AWS"
129
  elif company == "IBM":
130
  company = "IBM"
131
+ elif company == "Google":
132
  company = "Google"
133
  elif company == "Msft":
134
  company = "Msft"
 
172
  # For the inputs parameter of Interface provide [textbox,company]
173
 
174
  demo = gr.Interface(
175
+ fn=predict_output,
176
  inputs=[user_input,company_input],
177
  outputs=model_output,
178
  title="RAG on 10k-reports",