Rosh03 commited on
Commit
43fa919
·
verified ·
1 Parent(s): a0b308b

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. agent.py +2 -2
agent.py CHANGED
@@ -17,11 +17,11 @@ def generate_answer(question):
17
  return response.text
18
 
19
  with gr.Blocks() as demo:
20
- gr.Markdown("## 🤖 Ask me anything about AI/ML or life!")
21
  with gr.Row():
22
  inp = gr.Textbox(label="Enter your question here...")
23
  with gr.Row():
24
- out = gr.Textbox(label="Response from Gemini")
25
  btn = gr.Button("Ask")
26
  btn.click(fn=generate_answer, inputs=inp, outputs=out)
27
 
 
17
  return response.text
18
 
19
  with gr.Blocks() as demo:
20
+ gr.Markdown("## 🤖I am Rosh's PA - An AI/ML expert.")
21
  with gr.Row():
22
  inp = gr.Textbox(label="Enter your question here...")
23
  with gr.Row():
24
+ out = gr.Textbox(label="Response")
25
  btn = gr.Button("Ask")
26
  btn.click(fn=generate_answer, inputs=inp, outputs=out)
27