kz209 commited on
Commit
f86ab54
1 Parent(s): f743106
Files changed (3) hide show
  1. app.py +1 -1
  2. pages/arena.py +0 -2
  3. pages/summarization_example.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ with gr.Blocks() as demo:
22
  )
23
 
24
  with gr.Tabs() as tabs:
25
- with gr.TabItem("Streaming"):
26
  create_arena()
27
  with gr.TabItem("Summarization"):
28
  create_summarization_interface()
 
22
  )
23
 
24
  with gr.Tabs() as tabs:
25
+ with gr.TabItem("Demo_of_Streaming"):
26
  create_arena()
27
  with gr.TabItem("Summarization"):
28
  create_summarization_interface()
pages/arena.py CHANGED
@@ -2,7 +2,5 @@ from utils.multiple_stream import create_interface
2
 
3
  def create_arena():
4
  demo = create_interface()
5
- #demo.queue()
6
- #demo.launch()
7
 
8
  return demo
 
2
 
3
  def create_arena():
4
  demo = create_interface()
 
 
5
 
6
  return demo
pages/summarization_example.py CHANGED
@@ -58,7 +58,7 @@ def create_summarization_interface():
58
 
59
  with gr.Row():
60
  example_dropdown = gr.Dropdown(choices=list(examples.keys()), label="Choose an example")
61
- model_dropdown = gr.Dropdown(choices=["lmsys/vicuna-7b-v1.5", "tiiuae/falcon-7b-instruct"], label="Choose a model", value="gpt-3.5-turbo")
62
 
63
  Template_text = gr.Textbox(value="""{sources}
64
 
 
58
 
59
  with gr.Row():
60
  example_dropdown = gr.Dropdown(choices=list(examples.keys()), label="Choose an example")
61
+ model_dropdown = gr.Dropdown(choices=["lmsys/vicuna-7b-v1.5", "tiiuae/falcon-7b-instruct"], label="Choose a model", value="lmsys/vicuna-7b-v1.5")
62
 
63
  Template_text = gr.Textbox(value="""{sources}
64