jiangjiechen commited on
Commit
2be0c7c
1 Parent(s): 5b66167
app_modules/presets.py CHANGED
@@ -1,7 +1,6 @@
1
  import gradio as gr
2
 
3
-
4
- title = """<h1 align="center" style="min-width:200px; margin-top:0;"> <img src="https://raw.githubusercontent.com/jiangjiechen/jiangjiechen.github.io/1f23a6b72b7e0b57a54e31a583c9f668a2b8b4b6/media/icon_hua9f9b78e35233aa477f7219cbf68418f_67044_512x512_fill_lanczos_center_3.png" width="32px" style="display: inline"> Auction Arena </h1>"""
5
 
6
  description_top = """\
7
  <div align="center">
 
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">
assets/logo.png ADDED
assets/totopower-removebg.png DELETED
Binary file (61.3 kB)
 
src/human_bidder.py CHANGED
@@ -56,7 +56,7 @@ class HumanBidder(Bidder):
56
  # Human = auctioneer, AI = bidder
57
  self.dialogue_history += [
58
  HumanMessage(content=plan_instruct),
59
- AIMessage(content='Got it!')
60
  ]
61
  return ''
62
 
@@ -87,7 +87,7 @@ class HumanBidder(Bidder):
87
  def summarize(self, instruct_summarize: str):
88
  self.dialogue_history += [
89
  HumanMessage(content=instruct_summarize),
90
- AIMessage(content='Noted.')
91
  ]
92
  self.budget_history.append(self.budget)
93
  self.profit_history.append(self.profit)
 
56
  # Human = auctioneer, AI = bidder
57
  self.dialogue_history += [
58
  HumanMessage(content=plan_instruct),
59
+ AIMessage(content='(Getting ready...)')
60
  ]
61
  return ''
62
 
 
87
  def summarize(self, instruct_summarize: str):
88
  self.dialogue_history += [
89
  HumanMessage(content=instruct_summarize),
90
+ AIMessage(content='(Taking notes...)')
91
  ]
92
  self.budget_history.append(self.budget)
93
  self.profit_history.append(self.profit)