chainyo commited on
Commit
7aab655
·
1 Parent(s): adb79f7

try to fix btn height

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -52,7 +52,6 @@ def craft_story_from_recipe(input_str: str, recipe: str) -> None:
52
  if response.status_code == 200:
53
  st.session_state.story = response.json()["output"]["story"]
54
  else:
55
- print(response.json())
56
  raise ValueError("An error occurred while crafting the story.")
57
 
58
 
@@ -60,7 +59,7 @@ st.markdown(
60
  """
61
  <style>
62
  button {
63
- height: auto;
64
  padding-top: 10px !important;
65
  padding-bottom: 10px !important;
66
  }
 
52
  if response.status_code == 200:
53
  st.session_state.story = response.json()["output"]["story"]
54
  else:
 
55
  raise ValueError("An error occurred while crafting the story.")
56
 
57
 
 
59
  """
60
  <style>
61
  button {
62
+ height: 20px !important;
63
  padding-top: 10px !important;
64
  padding-bottom: 10px !important;
65
  }