fffiloni commited on
Commit
f88166d
β€’
1 Parent(s): 1c71e6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -67,8 +67,7 @@ pipe = pipeline("text-generation", model="HuggingFaceH4/zephyr-7b-beta", torch_d
67
  @spaces.GPU(enable_queue=True)
68
  def get_card_idea(user_prompt):
69
  agent_maker_sys = f'''
70
- You know everything about Magic Cards and Magic Card rules.
71
- Your job is to generate new magic card from an image description.
72
  You will only provide one card idea.
73
 
74
  Example 1:
@@ -94,6 +93,8 @@ Whenever Feline Dominator deals combat damage, you gain that much life.
94
  The true ruler of the house, demanding tribute from all who enter its domain.
95
  2/4
96
  Uncommon"
 
 
97
  '''
98
 
99
  instruction = f"""
 
67
  @spaces.GPU(enable_queue=True)
68
  def get_card_idea(user_prompt):
69
  agent_maker_sys = f'''
70
+ Your job is to generate new magic card from an image description given by user.
 
71
  You will only provide one card idea.
72
 
73
  Example 1:
 
93
  The true ruler of the house, demanding tribute from all who enter its domain.
94
  2/4
95
  Uncommon"
96
+
97
+ User give:
98
  '''
99
 
100
  instruction = f"""