Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -335,7 +335,7 @@ def bot(history, choice, tts_choice, retrieval_mode):
|
|
335 |
|
336 |
def add_message(history, message):
|
337 |
history.append((message, None))
|
338 |
-
return history, gr.Textbox(value="", interactive=True, placeholder="
|
339 |
|
340 |
def print_like_dislike(x: gr.LikeData):
|
341 |
print(x.index, x.value, x.liked)
|
@@ -1055,7 +1055,7 @@ with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
|
1055 |
|
1056 |
gr.Markdown("<h1 style='color: red;'>Talk to RADAR</h1>", elem_id="voice-markdown")
|
1057 |
|
1058 |
-
chat_input = gr.Textbox(show_copy_button=True, interactive=True, show_label=False, label="ASK Radar !!!",placeholder="
|
1059 |
tts_choice = gr.Radio(label="Select TTS System", choices=["Alpha", "Beta", "Gamma"], value="Alpha")
|
1060 |
retriever_button = gr.Button("Retriever")
|
1061 |
|
|
|
335 |
|
336 |
def add_message(history, message):
|
337 |
history.append((message, None))
|
338 |
+
return history, gr.Textbox(value="", interactive=True, placeholder="Ask More Question...", show_label=False)
|
339 |
|
340 |
def print_like_dislike(x: gr.LikeData):
|
341 |
print(x.index, x.value, x.liked)
|
|
|
1055 |
|
1056 |
gr.Markdown("<h1 style='color: red;'>Talk to RADAR</h1>", elem_id="voice-markdown")
|
1057 |
|
1058 |
+
chat_input = gr.Textbox(show_copy_button=True, interactive=True, show_label=False, label="ASK Radar !!!",placeholder="Hey Radar...!!")
|
1059 |
tts_choice = gr.Radio(label="Select TTS System", choices=["Alpha", "Beta", "Gamma"], value="Alpha")
|
1060 |
retriever_button = gr.Button("Retriever")
|
1061 |
|