Akash473 commited on
Commit
454fd03
·
verified ·
1 Parent(s): 5460aa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -10
app.py CHANGED
@@ -82,15 +82,13 @@ additional_inputs = [
82
  initial_prompt = "Hello John! Welcome to our simulation interview for the Solution Architect position. I understand you may have some initial thoughts or questions about the job requirements. Feel free to share those with me."
83
 
84
  gr.ChatInterface(
85
- fn=generate,
86
- inputs=[gr.Textbox(default=initial_prompt, label="Initial Prompt", type="text")],
87
- chatbot=gr.Chatbot(
88
- show_label=False,
89
- show_share_button=False,
90
- show_copy_button=True,
91
- likeable=True,
92
- layout="panel",
93
- ),
94
- additional_inputs=additional_inputs,
95
  title="""Gen-AIInterviewUseCase featuring Mistral 7B""",
 
 
 
 
 
 
 
96
  ).launch(show_api=False)
 
82
  initial_prompt = "Hello John! Welcome to our simulation interview for the Solution Architect position. I understand you may have some initial thoughts or questions about the job requirements. Feel free to share those with me."
83
 
84
  gr.ChatInterface(
85
+ generate,
 
 
 
 
 
 
 
 
 
86
  title="""Gen-AIInterviewUseCase featuring Mistral 7B""",
87
+ inputs=[
88
+ gr.Textbox(
89
+ default=initial_prompt, label="Initial Prompt", type="text", key="prompt"
90
+ )
91
+ ],
92
+ outputs=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
93
+ additional_inputs=additional_inputs,
94
  ).launch(show_api=False)