ai01firebird commited on
Commit
60e138d
·
verified ·
1 Parent(s): 663bbc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.3", token=HF_AP
10
 
11
  # Funktion zur Emoji-Übersetzung
12
  def text_to_emoji(text):
13
- prompt = f"Convert this sentence into a Emoji-Sequence which reflects the same meaning. Do not add an explanation, just return the emojis:\n\n\"{text}\""
14
  response = client.text_generation(prompt, max_new_tokens=50)
15
  return response
16
 
 
10
 
11
  # Funktion zur Emoji-Übersetzung
12
  def text_to_emoji(text):
13
+ prompt = f"Convert this sentence into an Emoji-Sequence of the same meaning and return only the emojis, no explanation:\n\n\"{text}\""
14
  response = client.text_generation(prompt, max_new_tokens=50)
15
  return response
16