Update app.py
Browse files
app.py
CHANGED
|
@@ -61,4 +61,10 @@ demo = gr.ChatInterface(
|
|
| 61 |
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
demo.launch()
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|
| 64 |
+
client.chat_completion(
|
| 65 |
+
model="T3lli/lora_model",
|
| 66 |
+
inputs="Hello!",
|
| 67 |
+
parameters={"temperature": 0.7, "max_length": 100}
|
| 68 |
+
)
|
| 69 |
+
|
| 70 |
demo.launch()
|