basic model
Browse files
app.py
CHANGED
|
@@ -110,7 +110,6 @@ def chat(message, history):
|
|
| 110 |
|
| 111 |
return full_response
|
| 112 |
|
| 113 |
-
# Create and launch the Gradio interface
|
| 114 |
demo = gr.ChatInterface(
|
| 115 |
chat,
|
| 116 |
title="Apple Music API Documentation Assistant",
|
|
@@ -119,10 +118,7 @@ demo = gr.ChatInterface(
|
|
| 119 |
"How to search for songs on Apple Music API?",
|
| 120 |
"What are the required parameters for searching songs?",
|
| 121 |
"Show me an example request with all parameters"
|
| 122 |
-
]
|
| 123 |
-
retry_btn=None,
|
| 124 |
-
undo_btn=None,
|
| 125 |
-
clear_btn="Clear Chat"
|
| 126 |
)
|
| 127 |
|
| 128 |
if __name__ == "__main__":
|
|
|
|
| 110 |
|
| 111 |
return full_response
|
| 112 |
|
|
|
|
| 113 |
demo = gr.ChatInterface(
|
| 114 |
chat,
|
| 115 |
title="Apple Music API Documentation Assistant",
|
|
|
|
| 118 |
"How to search for songs on Apple Music API?",
|
| 119 |
"What are the required parameters for searching songs?",
|
| 120 |
"Show me an example request with all parameters"
|
| 121 |
+
]
|
|
|
|
|
|
|
|
|
|
| 122 |
)
|
| 123 |
|
| 124 |
if __name__ == "__main__":
|