T3lli commited on
Commit
3af723f
·
verified ·
1 Parent(s): d94f804

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -61,9 +61,10 @@ demo = gr.ChatInterface(
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
 
 
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