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

Rename app.py to app2.py

Browse files
Files changed (1) hide show
  1. app.py โ†’ app2.py +1 -2
app.py โ†’ app2.py RENAMED
@@ -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="dicta-il/dictalm-7b",
13
  messages=[{"role": "user", "content": prompt}],
14
  max_tokens=250,
15
  stream=True,
@@ -21,4 +21,3 @@ interface = gr.Interface(fn=chat_with_model, inputs="text", outputs="text", titl
21
  interface.launch()
22
 
23
 
24
- # model="google/gemma-2-2b-it" ื–ื” ืžื•ื“ืœ ืฉืขื‘ื“
 
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,
 
21
  interface.launch()
22
 
23