tea-phan-y commited on
Commit
061b025
·
verified ·
1 Parent(s): 9cc6a9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
153
  ["The Great Gatsby", "The Crucible", "Fahrenheit 451", "Of Mice and Men", "To Kill a Mockingbird", "Romeo and Juliet", "The Catcher in the Rye", "Pride and Prejudice", "Lord of the Flies", "Hamlet"],
154
  label = "Choose a book!",
155
  interactive = True )
156
- question = "In {book}" and gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
157
  gr.Markdown(space)
158
  submit_button = gr.Button("Submit")
159
  answer = gr.Textbox(label="LitBot Response", placeholder="LitBot will respond here...", interactive=False, lines=30)
 
153
  ["The Great Gatsby", "The Crucible", "Fahrenheit 451", "Of Mice and Men", "To Kill a Mockingbird", "Romeo and Juliet", "The Catcher in the Rye", "Pride and Prejudice", "Lord of the Flies", "Hamlet"],
154
  label = "Choose a book!",
155
  interactive = True )
156
+ question = f"In {book}" and gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
157
  gr.Markdown(space)
158
  submit_button = gr.Button("Submit")
159
  answer = gr.Textbox(label="LitBot Response", placeholder="LitBot will respond here...", interactive=False, lines=30)