Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -70,21 +70,6 @@ def respond(
|
|
| 70 |
"""
|
| 71 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 72 |
"""
|
| 73 |
-
# demo = gr.ChatInterface(
|
| 74 |
-
# respond,
|
| 75 |
-
# additional_inputs=[
|
| 76 |
-
# gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
|
| 77 |
-
# gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 78 |
-
# gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 79 |
-
# gr.Slider(
|
| 80 |
-
# minimum=0.1,
|
| 81 |
-
# maximum=1.0,
|
| 82 |
-
# value=0.95,
|
| 83 |
-
# step=0.05,
|
| 84 |
-
# label="Top-p (nucleus sampling)",
|
| 85 |
-
# ),
|
| 86 |
-
# ],
|
| 87 |
-
# )
|
| 88 |
|
| 89 |
# Define the interface
|
| 90 |
with gr.Blocks() as demo:
|
|
|
|
| 70 |
"""
|
| 71 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 72 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
# Define the interface
|
| 75 |
with gr.Blocks() as demo:
|