bubuuunel commited on
Commit
4ae3ade
1 Parent(s): eeb1057

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -136,6 +136,10 @@ def predict(user_input,company):
136
  return prediction
137
 
138
  # Set-up the Gradio UI
 
 
 
 
139
  # Add text box and radio button to the interface
140
  # The radio button is used to select the company 10k report in which the context needs to be retrieved.
141
 
 
136
  return prediction
137
 
138
  # Set-up the Gradio UI
139
+ user_input = gr.Textbox (label = 'Query')
140
+ company = gr.Dropdown(['aws','google','IBM','Meta','msft'])
141
+ model_response = gr.Textbox (lebal = 'Response')
142
+
143
  # Add text box and radio button to the interface
144
  # The radio button is used to select the company 10k report in which the context needs to be retrieved.
145