Nitzantry1 commited on
Commit
3f2dc51
ยท
verified ยท
1 Parent(s): b421c84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -9,7 +9,7 @@ client = InferenceClient(api_key=api_key)
9
  def chat_with_model(prompt):
10
  response_text = ""
11
  for message in client.chat_completion(
12
- model="google/gemma-2-2b-it",
13
  messages=[{"role": "user", "content": prompt}],
14
  max_tokens=250,
15
  stream=True,
@@ -19,3 +19,6 @@ def chat_with_model(prompt):
19
 
20
  interface = gr.Interface(fn=chat_with_model, inputs="text", outputs="text", title="Chat with Hugging Face Model")
21
  interface.launch()
 
 
 
 
9
  def chat_with_model(prompt):
10
  response_text = ""
11
  for message in client.chat_completion(
12
+ model="dicta-il/dictalm-7b",
13
  messages=[{"role": "user", "content": prompt}],
14
  max_tokens=250,
15
  stream=True,
 
19
 
20
  interface = gr.Interface(fn=chat_with_model, inputs="text", outputs="text", title="Chat with Hugging Face Model")
21
  interface.launch()
22
+
23
+
24
+ # model="google/gemma-2-2b-it" ื–ื” ืžื•ื“ืœ ืฉืขื‘ื“