KBarnes commited on
Commit
0ac7389
·
verified ·
1 Parent(s): ff02380

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -133,10 +133,10 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
133
  with gr.Row():
134
  with gr.Column():
135
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
136
- answer = gr.Textbox(label="AI-nstein Response", placeholder="AI-nstein will respond here...", interactive=False, lines=10)
137
  submit_button = gr.Button("Submit")
138
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
139
-
 
140
 
141
  # Launch the Gradio app to allow user interaction
142
  demo.launch(share=True)
 
133
  with gr.Row():
134
  with gr.Column():
135
  question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
 
136
  submit_button = gr.Button("Submit")
137
  submit_button.click(fn=query_model, inputs=question, outputs=answer)
138
+ answer = gr.Textbox(label="AI-nstein Response", placeholder="AI-nstein will respond here...", interactive=False, lines=10)
139
+
140
 
141
  # Launch the Gradio app to allow user interaction
142
  demo.launch(share=True)