Illia56 commited on
Commit
d9e314f
·
1 Parent(s): 0d934c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -12,13 +12,13 @@ This Space demonstrates model [Llama-2-70b-chat-hf](https://huggingface.co/meta-
12
  """
13
  css = """.toast-wrap { display: none !important } """
14
 
15
- examples=[
16
- ['Hello there! How are you doing?'],
17
- ['Can you explain to me briefly what is Python programming language?'],
18
- ['Explain the plot of Cinderella in a sentence.'],
19
- ['How many hours does it take a man to eat a Helicopter?'],
20
- ["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
21
- ]
22
 
23
 
24
 
@@ -45,5 +45,5 @@ def predict(message, chatbot, system_prompt="", temperature=0.9, max_new_tokens=
45
  1, # int | float (numeric value between 1.0 and 2.0)
46
  api_name="/chat_1")
47
 
48
- demo = gr.Interface(predict, title=title, inputs="audio", outputs="text", description=description, css=css, examples=examples)
49
  demo.launch(theme=gr.themes.Base())
 
12
  """
13
  css = """.toast-wrap { display: none !important } """
14
 
15
+ # examples=[
16
+ # ['Hello there! How are you doing?'],
17
+ # ['Can you explain to me briefly what is Python programming language?'],
18
+ # ['Explain the plot of Cinderella in a sentence.'],
19
+ # ['How many hours does it take a man to eat a Helicopter?'],
20
+ # ["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
21
+ # ]
22
 
23
 
24
 
 
45
  1, # int | float (numeric value between 1.0 and 2.0)
46
  api_name="/chat_1")
47
 
48
+ demo = gr.Interface(predict, title=title, inputs="audio", outputs="text", description=description, css=css)#, examples=examples)
49
  demo.launch(theme=gr.themes.Base())