jiangjiechen commited on
Commit
fb1f434
1 Parent(s): 2be0c7c

update description

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. app_modules/presets.py +15 -7
app.py CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
73
  with gr.Row():
74
  gr.HTML(title)
75
 
76
- gr.Markdown(description_top)
77
 
78
  with gr.Row():
79
  with gr.Column(scale=6):
 
73
  with gr.Row():
74
  gr.HTML(title)
75
 
76
+ # gr.Markdown(description_top)
77
 
78
  with gr.Row():
79
  with gr.Column(scale=6):
app_modules/presets.py CHANGED
@@ -1,14 +1,22 @@
1
  import gradio as gr
2
 
3
- title = """<img src="https://huggingface.co/spaces/jiangjiechen/Auction-Arena-Demo/resolve/main/assets/logo.png" style="float: left;" width="200" height="200"><h1> Auction Arena </h1>"""
4
 
5
- description_top = """\
6
- <div align="center">
7
- <p>
8
- An interactive demo for this paper: <a href="https://auction-arena.github.io">Put Your Money Where Your Mouth Is: Evaluating Strategic Planning and Execution of LLM Agents in an Auction Arena</a>. Details of this work can be found at <a href="https://auction-arena.github.io">this page</a>. You can watch AI vs AI in this auction arena, or you can set `model_name=human` to engage in the arena personally. Please enter your API key before start, otherwise you will have errors (please refresh the page if you do). Feel free to <a href="mailto:jjchen19@fudan.edu.cn">contact us</a> if you have any questions!
9
- </p >
10
- </div>
11
  """
 
 
 
 
 
 
 
 
12
  description = """\
13
  <div align="center" style="margin:16px 0">
14
  The demo is built on <a href="https://github.com/GaiZhenbiao/ChuanhuChatGPT">ChuanhuChatGPT</a>.
 
1
  import gradio as gr
2
 
3
+ title = """<img src="https://huggingface.co/spaces/jiangjiechen/Auction-Arena-Demo/resolve/main/assets/logo.png" style="float: left;" width="200" height="200"><h1> Auction Arena </h1>
4
 
5
+ An interactive demo for this paper: <a href="https://auction-arena.github.io">Put Your Money Where Your Mouth Is: Evaluating Strategic Planning and Execution of LLM Agents in an Auction Arena</a>. Details of this work can be found at <a href="https://auction-arena.github.io">this page</a>. <br>
6
+
7
+ After choosing items and setting the basic auction rules (like shuffle item order, setting minimal increase, enable discount if none bids, etc.), you can either watch AI vs AI in this auction arena by setting `model_name` as LLMs. Or if you like to participate in the competition yourself, you can set `model_name=human` to engage in the arena personally. Please <b>enter your API key</b> before start. <b>OpenAI API Key is a must</b>, others are not. Otherwise you will encounter errors (please refresh the page if you do).
8
+ <br>
9
+ <br>
10
+ Feel free to <a href="mailto:jjchen19@fudan.edu.cn">contact us</a> if you have any questions!
11
  """
12
+
13
+ # description_top = """\
14
+ # <div align="center">
15
+ # <p>
16
+
17
+ # </p >
18
+ # </div>
19
+ # """
20
  description = """\
21
  <div align="center" style="margin:16px 0">
22
  The demo is built on <a href="https://github.com/GaiZhenbiao/ChuanhuChatGPT">ChuanhuChatGPT</a>.