Update app.py
Browse files
app.py
CHANGED
|
@@ -80,8 +80,8 @@ chatbot = gr.ChatInterface(
|
|
| 80 |
respond,
|
| 81 |
type="messages",
|
| 82 |
additional_inputs=[
|
| 83 |
-
gr.Textbox(value="TEST_123", label="session_id"),
|
| 84 |
-
gr.Textbox(value="
|
| 85 |
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 86 |
# gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 87 |
# gr.Slider(
|
|
@@ -95,9 +95,8 @@ chatbot = gr.ChatInterface(
|
|
| 95 |
)
|
| 96 |
|
| 97 |
with gr.Blocks() as demo:
|
| 98 |
-
with gr.Sidebar():
|
| 99 |
-
gr.LoginButton()
|
| 100 |
chatbot.render()
|
|
|
|
| 101 |
|
| 102 |
|
| 103 |
if __name__ == "__main__":
|
|
|
|
| 80 |
respond,
|
| 81 |
type="messages",
|
| 82 |
additional_inputs=[
|
| 83 |
+
gr.Textbox(value="<TEST_123>", label="session_id"),
|
| 84 |
+
gr.Textbox(value="[TOKEN]", label="token"),
|
| 85 |
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 86 |
# gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 87 |
# gr.Slider(
|
|
|
|
| 95 |
)
|
| 96 |
|
| 97 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
| 98 |
chatbot.render()
|
| 99 |
+
title = gr.HTML("<h3>Use #ai to ask the ai</h3>")
|
| 100 |
|
| 101 |
|
| 102 |
if __name__ == "__main__":
|