Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,6 @@ topics = """
|
|
| 117 |
### Please input specific features you would like, such as:
|
| 118 |
- Size
|
| 119 |
- Price
|
| 120 |
-
- Camera quality
|
| 121 |
- Color
|
| 122 |
- Brand
|
| 123 |
|
|
@@ -137,7 +136,7 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
| 137 |
with gr.Row():
|
| 138 |
with gr.Column():
|
| 139 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
| 140 |
-
answer = gr.Textbox(label="
|
| 141 |
submit_button = gr.Button("Submit")
|
| 142 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 143 |
|
|
|
|
| 117 |
### Please input specific features you would like, such as:
|
| 118 |
- Size
|
| 119 |
- Price
|
|
|
|
| 120 |
- Color
|
| 121 |
- Brand
|
| 122 |
|
|
|
|
| 136 |
with gr.Row():
|
| 137 |
with gr.Column():
|
| 138 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
| 139 |
+
answer = gr.Textbox(label="PhoneFinder Response", placeholder="PhoneFinder will respond here...", interactive=False, lines=10)
|
| 140 |
submit_button = gr.Button("Submit")
|
| 141 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
| 142 |
|