ECUiVADE commited on
Commit
4e1dd84
1 Parent(s): 8213908

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -60,6 +60,7 @@ Age=""
60
  YearsOfExp = ""
61
 
62
  chat_log_name =""
 
63
 
64
  from llama_cpp import Llama
65
  llm = Llama(model_path=model_file, model_type="mistral",n_gpu_layers=-1,n_ctx = 2048)
@@ -253,7 +254,7 @@ with gr.Blocks() as app:
253
  age = gr.Textbox(label="Age")
254
  submit_info = gr.Button("Submit")
255
  status = gr.Textbox(label="Status" ,container = True, scale = 2 ,interactive = False, show_copy_button = True),
256
- submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=[status])
257
 
258
  with gr.Tab("Chat Bot"):
259
  chatbot = gr.Chatbot()
 
60
  YearsOfExp = ""
61
 
62
  chat_log_name =""
63
+ status = ""
64
 
65
  from llama_cpp import Llama
66
  llm = Llama(model_path=model_file, model_type="mistral",n_gpu_layers=-1,n_ctx = 2048)
 
254
  age = gr.Textbox(label="Age")
255
  submit_info = gr.Button("Submit")
256
  status = gr.Textbox(label="Status" ,container = True, scale = 2 ,interactive = False, show_copy_button = True),
257
+ submit_info.click(submit_user_info, inputs=[name, occupation, yearsofexp, ethnicity, gender, age], outputs=status)
258
 
259
  with gr.Tab("Chat Bot"):
260
  chatbot = gr.Chatbot()