BigSalmon commited on
Commit
bf70e0e
·
1 Parent(s): 76f9de4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -87,14 +87,8 @@ if st.button("Run"):
87
  temp=temp,
88
  num_return_sequences = int(num_return_sequences),
89
  top_k=int(top_k),
90
- top_p=float(top_p))
91
- result2 = []
92
- text = str(text)
93
- for i in result:
94
- i = str(i)
95
- i = i.replace(text, "")
96
- result2.append(i)
97
- st.write(result2)
98
  if "error" in result:
99
  if type(result["error"]) is str:
100
  st.write(f'{result["error"]}. Please try it again in about {result["estimated_time"]:.0f} seconds')
 
87
  temp=temp,
88
  num_return_sequences = int(num_return_sequences),
89
  top_k=int(top_k),
90
+ top_p=float(top_p))
91
+ st.write(result)
 
 
 
 
 
 
92
  if "error" in result:
93
  if type(result["error"]) is str:
94
  st.write(f'{result["error"]}. Please try it again in about {result["estimated_time"]:.0f} seconds')