alex-abb commited on
Commit
5263330
·
verified ·
1 Parent(s): 7cde71a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -6,17 +6,11 @@ For more information on `huggingface_hub` Inference API support, please check th
6
  """
7
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
8
  @spaces.GPU
 
9
 
10
 
11
 
12
 
13
- def check_if_message_empty(message):
14
- cleaned_message = message.strip()
15
-
16
-
17
- if check_if_message_empty is True :
18
- raise gr.Error("you'r message is empty")
19
- else : None
20
 
21
  def respond(
22
  message,
 
6
  """
7
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
8
  @spaces.GPU
9
+ show_copy_button = True
10
 
11
 
12
 
13
 
 
 
 
 
 
 
 
14
 
15
  def respond(
16
  message,