Update app.py
Browse files
app.py
CHANGED
|
@@ -61,11 +61,4 @@ demo = gr.ChatInterface(
|
|
| 61 |
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|
| 64 |
-
messages = {"role": "user", "content": "Hello!"}
|
| 65 |
-
client.chat_completion(
|
| 66 |
-
|
| 67 |
-
messages,
|
| 68 |
-
parameters={"temperature": 0.7, "max_length": 100}
|
| 69 |
-
)
|
| 70 |
-
|
| 71 |
demo.launch()
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
demo.launch()
|